[eluser]Sakthi MCA[/eluser]
i am new to codeigniter.
yes one table entry is working.
i have two tables
one is User_table. it contains user_id (primary,Auto increment) ,User_name and password.
another is profile_table. profile _id(primary,Auto increment) ,user_id ,User_name and password.
i need to store last inserted value of user_id in User_table to user_id field of profile_table.
how can i do in codeigniter
let me know please