Re: GET doesn't work as POST

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

 



On 2/24/07, Dotan Cohen <dotancohen@xxxxxxxxx> 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

[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