Hi Guys,
How can i resolve this.
I have a php script, at the top of this script is a redirection, eg.
<META HTTP-EQUIV="refresh" CONTENT="3; URL=typh_forum1.php?id=<?=$post_id?>">
<?
// script here
Basically the values from a form are sent to this script which inserts data into the database.
This all works fine except for when the script tries to refresh and redirect. The reason it has trouble is because =<?=$post_id?> has no value due to the fact that post_id is an auto_increment field in the database. The data from the form is inserted into the database but i don't know how to pass that post_id value.
I hope this makes sense, any ideas?
Cheers,
Salo