RE: [PHP] passing variable via url ( newbye question)

2002-07-30 Thread Martin Towell
Is this a direct copy from your code? > echo $_GET['modo']." echo $_GET['color']." echo $_GET['size']." tags see if that helps Martin -Original Message- From: Saci [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 6:09 AM To: [EMAIL PROTECTED] Subject: [PHP] passing variable via

RE: [PHP] passing variable via url ( newbye question)

2002-07-30 Thread cteubner
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

Re: [PHP] passing variable via url ( newbye question)

2002-07-30 Thread Martin Clifford
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

Re: [PHP] passing variable via url

2001-03-05 Thread Christian Reiniger
On Monday 05 March 2001 17:43, you wrote: > using PHP 3.x on Linux, I've always been able to pass along a variable > like http://www.domain.com/index.php3?foo=bar > > and then I could print out this with something like > echo $foo; > would print out "bar" > > I've recently installed the latest PH