You are here: Re: $_POST « PHP Language « IT news, forums, messages
Re: $_POST

Posted by Jim Michaels on 10/20/10 11:37

actually it works fine without the quotes. I don't remember, but I think
you get an error if you use quotes there.

"David Haynes" <david.haynes2@sympatico.ca> wrote in message
news:j8Byf.7830$x8.5938@fe04.usenetserver.com...
> Jim Michaels wrote:
>> $_POST[lunch] is used inside strings.
>>
>>
>> echo "eat some $_POST[lunch] at 4:00pm.<br>";
> Shouldn't that be
> echo "eat some $_POST['lunch'] at 4:00pm.<br>":
>
> -david-
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация