hi, im new at php and mysql stuff
i have a question regarding php and mysql database
how do i insert a record in the database with a same name but different id?
for example, a name "john" with an id of "123" and the other name also "john" but the id is "456". the id are different but the name is the same.
can anyone help me please..
thanks in advance!
Loading
Shashank SrivastavaPosted Jun 26, 2013, 8:53 AM
I am not sure what makes it so difficult to insert duplicate entries. Make sure the 'name' column is not set to 'unique' or 'primary'.
If problem persists, would like to have a look on the code.
francoPosted May 15, 2013, 11:05 AM
thanks again
Satyapriya NayakPosted May 14, 2013, 1:55 PM