Novice MySQL problem
| From: | drive view | Date: | Sun, 13 Nov 2011 21:43:41 +0000 |
| Subject: | Novice MySQL problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-315667@lists.php.net to get a copy of this message | ||
Hi,
I'm a novice to MySQL and am currently facing the following difficulty.
I'm trying to update a table with a row of data the primary key of which is
an ID which I believe is an auto incrementing serial number. My first
question is how to check if this is the case.
Secondly while trying to insert such a row leaving out this column mySql is
inserting the row at ID 0 (the previous ID's in the table are from 1 to 9),
but then will not take further inserts.
Thanks for any help available.
Regards
Toni