|
Posted by Greg N. on 01/20/06 12:49
Richard Marx wrote:
> Thanks, can you please elaborate on how to do this as you have time? I'm
> not expert in the area of PHP either.
This is the calling page, (say, index.html):
<html><body>
<p>The following link will bring you to page2.php,
and pass the variable planet with the value "mars" to it.
<p>
<a href=page2.php?planet=mars>See how it works</a>
</body></html>
This is the called page (page2.php)
<html><body>
<?php $planet = $_GET['planet']; ?>
<h1>This planet is <?php echo "$planet"; ?></h1>
</body></html>
--
Gregor's Motorradreisen:
http://hothaus.de/greg-tour/
Navigation:
[Reply to this message]
|