You are here: Re: Can HTML remember a keyword from 1 page to another? « HTML « IT news, forums, messages
Re: Can HTML remember a keyword from 1 page to another?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация