RE: newbie question ; calling php script with parrameters from html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sagaert Johan <mailto:sagaert.j@xxxxxxxxxxxx>
    on Wednesday, February 02, 2005 2:38 AM said:

> can i use this kind of construction in my html code ?
> 
> <a href="test.php?selection=high">Select high</a>

Yes.

> if yes , how do i retrieve the passed string in the php code

<?php

	$value = $_GET['selection'];

?>

Be sure to validate the data first though.



Chris.

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux