Lets say that i am writing in some form variables into a mysql table. But at the same time, i need the auto_increment ID as the user need to have it.
But as the id is created in the mysql table, how can i get reach of it? I need to mail it to the user in the same code, thats why.
Should i make it complicated and send a new question to the table and asking for the id WHERE name = $name? Thats not very accurate if two users have the same name 😕
And also, how do I use php to redirect the page to another? I i remember right, it is something with header()...?