quote:Originally posted by Dai
What do you do if you want to automatically redirect to another page after an if statement. Do yu use meterefresh or is there some php code to deal with this?
if( some condition )
echo "<meta http-equiv=\"refresh\" content=\"5\" />\n";
// else don't generate refresh code.
Simple as that.