Posted by Ashok on 12/21/05 03:49
How to make a statement where I have to query db and select all from table
where id = last insert id? I have to use the rows info to redirect to page
with this info.
Something like $query_rsRedirect = "SELECT * FROM table WHERE id =
LAST_INSERT_ID()";
and redirectpage will be
subcat.php?catid={rsRedirect.catid}&subcatid={rsRedirect.subcatid}
It shows a blank page, although data is inserted.
Ashok.
Navigation:
[Reply to this message]
|