PHP Query
PHP Queries
Saturday, 23 March 2013
how to get the last inserted id in sql query
retrieves the ID generated for an AUTO_INCREMENT column by the previous query (usually INSERT).
use the function
mysql_insert_id
()
Que.Warning: Cannot modify header information - headers already sent by.
Ans.use the function
ob_start() after where u start the session_start()
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)