mklijnstra
08-10-2002, 05:56 PM
I made a simple script to send and recieve test, but for some reason the second page doesn't load any $ variables.
here is a piece of script of the second page:
<b>Posted on:</b><?php print($date); ?>.
<b>By:</b><?php print($name); ?>.
<?php print($news); ?>.
And this is the first page sending to the script at the second page:
<form action="dnp.php" methode="post">
<b>Date:</b>
<input type="text" name="date"
value="<?php print($date); ?>" size="15"> <br />
<b>Your name:</b>
<input type="text" name="name"
value="<?php print($name); ?>" size="35"> <br />
<b>News:</b>
<input type="text" name="news"
value="<?php print($news); ?>" size="150"> <br />
<input type="submit" Value="go!" Size="15" />
Can you help me?
here is a piece of script of the second page:
<b>Posted on:</b><?php print($date); ?>.
<b>By:</b><?php print($name); ?>.
<?php print($news); ?>.
And this is the first page sending to the script at the second page:
<form action="dnp.php" methode="post">
<b>Date:</b>
<input type="text" name="date"
value="<?php print($date); ?>" size="15"> <br />
<b>Your name:</b>
<input type="text" name="name"
value="<?php print($name); ?>" size="35"> <br />
<b>News:</b>
<input type="text" name="news"
value="<?php print($news); ?>" size="150"> <br />
<input type="submit" Value="go!" Size="15" />
Can you help me?