Jump to content

Page Refresh


unemployment

Recommended Posts

well where are you putting it? Post your code

 

 

EDIT:

<?php

if($_POST['submit']){
// insert query here

echo 'Content submitted';
echo '<meta http-equiv="REFRESH" content="0;url=URL_THAT_U_WANT_TO_REFRESH">';
}else{
//your form goes here, make sure you name your submit button, submit

}
?>

Link to comment
https://forums.phpfreaks.com/topic/232176-page-refresh/#findComment-1194369
Share on other sites

well where are you putting it? Post your code

 

 

EDIT:

<?php

if($_POST['submit']){
// insert query here

echo 'Content submitted';
echo '<meta http-equiv="REFRESH" content="0;url=URL_THAT_U_WANT_TO_REFRESH">';
}else{
//your form goes here, make sure you name your submit button, submit

}
?>

 

I just used header location and that works fine.

Link to comment
https://forums.phpfreaks.com/topic/232176-page-refresh/#findComment-1194459
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.