T
|
thesofa 11/18/2008 |
If BookingIDis geneated when the record is saved this will not exist yet because the record has not been saved, so it has no number. $Bookid = mysql_insert_id();
|
C
|
cecotto479 author 11/18/2008 |
If BookingIDis geneated when the record is saved this will not exist yet because the record has not been saved, so it has no number. If you are trying to get the number of the last booking, If you key field is auto-incremented use following code: $Bookid = mysql_insert_id();
|
T
|
thesofa 11/19/2008 |
<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=35244&image=1&table=forumreplies' class='bbc_emoticon' alt=':D' /> |