, mysql_query() returns a
resource on success, or FALSE on error.
For other type of SQL statements, UPDATE, DELETE, DROP, etc, mysql_query()
returns TRUE on success or FALSE on error.
Regards
Colin Davis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you, that is perfect.
Regards
Colin Davis
http://www.ukpages.org
Johan Martin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
http://www.php.net/manual/en/function.mysql-insert-id.php
This will give you the record id of the last record inserted (or created).
Johan Martin
2 matches
Mail list logo