Hello! I've created a script that allows you to create a 'page' by saving the relevant information to a MySQL database. One script will generate all of the pages that are created by the id # that is passed to said script. Of course.
When saving the page's information MySQL will auto-increment the ID # column by which the table is indexed. I want the first script, after successfully saving the page's data, to print the HTML link for the page's creator to use for linking to the created page.
I am not sure if there's anyway after opening the database and inserting the new row into the table if there's a way to easily reference the newly created ID # which MySQL created in the ID row.
If not...what way is generally used for such a purpose? I tried to make this as clear as I could but please let me know if I can offer any more information.
HINT - A valid link's target would be like: show_page.php?id=20