Jump to content

posting var values to another page through the address bar.


son.of.the.morning

Recommended Posts

<?PHP
$my_variable_1 = "Peter";
$my_variable_2 = "37";
$my_url = "http://www.w3schools.com/welcome.php?fname=" . $my_variable_1 . "&age=" . $my_variable_2;
?>
<meta http-equiv="refresh" content="0; URL=<?PHP echo $my_url; ?>">

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.