Forums

This topic is locked

bring back the row id...

Posted 20 Sep 2004 21:55:00
1
has voted
20 Sep 2004 21:55:00 Ben A posted:
so, here's my problem...

i am adding a row to a table with php and mysql. i add the row, but i need to redirect the user to a page that sends the new row id as part of the url. so, in essence, i need to:

* insert a row
* learn the id for the row
* send the user to a new url with the rowid in the url

i can do the first and third, but i'm at a loss when it comes to doing the middle step. any ideas?

Reply to this topic