Hello,

If i set a variabele in lets say 'script one'. When i jump into 'script two', is there a way (without cookies) to read the variable set in 'script one'

Like: SCRIPTONE.PHP:

<html>
<body>
<?php>
$var=¨How are you¨;
?>
<form method="post" action="scripttwo.php">
 <table>
  <tr>
  <td style="vertical-align: top;">name:</td>
  <td style="vertical-align: top;"> <input type="text" name="name"></td>
  </tr>
 </table>
 <input type="submit" name="submit" value="OK">
</form>
</body>
</html>

SCRIPTTWO.PHP:

<html>
<body>
<?php
$naam=$_POST['naam'];
print ¨Hello $naam¨;
print ¨$var¨;
?>
</body>
</html>

THE PROBLEM IS THAT I ALSO WANT TO USE $VAR IN SCRIPTTWO.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to