Re: GET doesn't work as POST

From: Date: Sat, 24 Feb 2007 11:36:18 +0000
Subject: Re: GET doesn't work as POST
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-249362@lists.php.net to get a copy of this message
On 2/24/07, Dotan Cohen <dotancohen@gmail.com> wrote:
Also, if you're using the variable in a print string, then you'll need to exit the string, like so: $print "Hello, $kind!"; would become: $print "Hello, ".$_GET["kind"]."!"; Dotan Cohen http://easyanswers.info http://nirot.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Or just interpolate it like so: print "Hello, {$_GET['kind']}!"; -- http://www.web-buddha.co.uk

« previous php.general (#249362) next »