You are here: Re: How PHP $_POST gets the multiple values from a HTML form? « PHP Programming Language « IT news, forums, messages
Re: How PHP $_POST gets the multiple values from a HTML form?

Posted by Ewoud Dronkert on 11/11/96 11:16

On Wed, 18 May 2005 09:43:32 -0400, RC wrote:
> Then in PHP need to changed to
>
> $pet = array($_POST['pet']);
> $dates = array($_POST['dates']);

No way dude, remove the array(), then $pet will still be an array
because $_POST['pet'] is. By the way, no need to use a local variable
like $pet, you could just use $_POST['pet']. Try print_r($_POST);


--
Firefox Web Browser - Rediscover the web - http://getffox.com/
Thunderbird E-mail and Newsgroups - http://gettbird.com/

 

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

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