Jump to content

Is there a way to tell php to go to a webpage


optikalefx

Recommended Posts

yea thats what i need, one other thing though

 

I was using a form to and a submit button to go to the next page, basically you enter the password, the data gets sent to a php process page, and if the password was correct, it would display a continue button. well what ill use that code you gave me is to just go to the next page, but when i used the form, i was able to send a hidden variable.  how can i still send the hidden variable?

 

if ($mypass == "123456") {

echo "<FORM METHOD='POST' ACTION='http://www.4tenproductions.com/jrlistpage.php'>";

echo "<INPUT type='hidden' name='table' value='JohnRobberts'>";

echo "<center>Correct<br>";

echo "<input type='submit' value='Continue'></form>";

} else if ...

 

thats what i have

and if i change it to ur code it becomes

 

if ($mypass == "123456") { header ('location: http://www.4tenproductions.com/jrlistpage.php)};

 

so how do i send this variable        echo "<INPUT type='hidden' name='table' value='JohnRobberts'>";

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.