Reply to Re: [PHP] convert array to HTML GET request

Your name:

Reply:


Posted by adriano ghezzi on 10/03/05 01:38

if i understand well you need to get an array from html post


if you use the same name for your html fields you automatically have
an array in $_POST

eg

input type=text name=myfield value="field_1"
input type=text name=myfield value="field_2"

you'll get the array ar_myfield = $_POS['myfield']

you should achieve the same result using myfield[key] in the name of html

hyh

by ag.


2005/10/2, Martin van den Berg <martinvdberg@gmail.com>:
> Newbe question:
>
> How does one convert an array into a HTML GET request easely? Are
> there any standard functions?
>
> Same for HTML POST requests.
>
> Thanks,
>
> Martin.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

[Back to original 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

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