Re: Re: passing variable via url ( newbye question)

From: Date: Wed, 31 Jul 2002 09:24:51 +0000
Subject: Re: Re: passing variable via url ( newbye question)
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-110481@lists.php.net to get a copy of this message
The obvius and easy think is alwaiss the hard to find My problem vas the > of the <BR> tag, that I forgot, dummy issue but I made The right adn working one now are http://myadress/php/mypage.php?modo=123&color=red&size=3 and to get echo $_GET['modo']."<BR>"; echo $_GET['color']."<BR>"; echo $_GET['size']."<BR>"; "Leif K-Brooks" <eurleif@buyer-brokerage.com> escreveu na mensagem news:3D476DFC.5080607@buyer-brokerage.com... > PLEASE don't tell the newbies to mess up their code! That is not > compatible with all versions of php! DO NOT USE THOSE!!! STICK TO YOUR > CURRENT GOOD CODE! Bother with them for security and compatibly. > > Lord Loh. wrote: > > > >>http://myadress/php/mypage.php?modo=123&color=red&size=3 > > > >is fine! > > > >you can now use these variables like > >$modo $color and $size; > > > >Why bother with $_GET['modo']; ? > > > > > > > > > > > > > > >

« previous php.general (#110481) next »