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'>";

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.