|
-
Apr 4th, 2004, 01:03 PM
#1
Add record to MySQL with PHP...[Resolved]
I have a table with an auto_increment value. And I want to add a record but how do I choose what fields goes where, and how does PHP know what field are just going to be incremented by MSQL?
I guess it will be something like
$query = "insert into arrangement values('".$aBy."', '".$aDato."','".$aNavn."','".$aInfo."','".$aStort."')";
But before aBy I have a field called aArrID that will be autoincremented....what does the syntax look like then?
Last edited by NoteMe; Apr 4th, 2004 at 01:44 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|