Welcome Guest, Not a member yet? Register   Sign In
Update instead insert
#9

(01-29-2021, 05:19 AM)demyr Wrote:
(01-29-2021, 05:05 AM)pippuccio76 Wrote: i save data for different model because i have a two type of user , the first part (a simple registration data) i save into a table users , the second part is specific of the type of user and i save it in the specific table

I asked because I wanted to be sure if you have the same columns in your second table?

Btw, did you set auto increment for ID in your db table?

I have id in user autoincrement , in dentisti i have id_user (foreign key of user ) without id
Reply


Messages In This Thread
Update instead insert - by pippuccio76 - 01-28-2021, 12:51 PM
RE: Update instead insert - by neoneeco - 01-28-2021, 01:32 PM
RE: Update instead insert - by pippuccio76 - 01-28-2021, 01:34 PM
RE: Update instead insert - by InsiteFX - 01-28-2021, 09:53 PM
RE: Update instead insert - by pippuccio76 - 01-28-2021, 11:07 PM
RE: Update instead insert - by demyr - 01-29-2021, 04:50 AM
RE: Update instead insert - by pippuccio76 - 01-29-2021, 05:05 AM
RE: Update instead insert - by demyr - 01-29-2021, 05:19 AM
RE: Update instead insert - by pippuccio76 - 01-29-2021, 11:18 AM
RE: Update instead insert - by demyr - 01-29-2021, 12:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB