EMAIL PROTECTED]
Subject: [PHP] passing variable via url ( newbye question)
I can pass one variable using the url on this way
http://myadress/php/mypage.php?modo=123
and to read i have the code
echo $_GET['modo']."http://myadress/php/mypage.php?modo=123&color=red&size=3
and
You are passing the variables correctly. If that's your actual code
echo $_GET['modo']." (note the closing > ) - PHP is doing what you told it, and your
browser is confused by the output. If PHP were the problem you'd probably see an
error message.
Also, upgrade to 4.2.2 please :)
Regards,
Co
http://myaddress/php/mypage.php?modo=123&color=red&size=3
Just separate name/value pairs with ampersand (&).
HTH
Martin Clifford
Homepage: http://www.completesource.net
Developer's Forums: http://www.completesource.net/forums/
>>> "Saci" <[EMAIL PROTECTED]> 07/30/02 04:09PM >>>
I can pass on
I can pass one variable using the url on this way
http://myadress/php/mypage.php?modo=123
and to read i have the code
echo $_GET['modo']."http://myadress/php/mypage.php?modo=123&color=red&size=3
and to get
echo $_GET['modo']."http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsu
4 matches
Mail list logo