Reply to Re: Getting list of checkboxes and value in next page

Your name:

Reply:


Posted by dkruger on 08/06/07 12:55

On Aug 6, 7:15 am, jeet <jatindermash...@gmail.com> wrote:
> Plz help me.Problem is that On the first page I display all other user
> with checkbox and give user option to select only two user which he
> wants to send message. Tell me please how I'll get those checkboxes
> value and name on the next page and send message to only those two
> selected user.
> Thanx in
> advance

If you are wanting to limit the number of selections (so the user can
only select 2 etc), instead of using checkboxes, I would use radio
buttons or select lists. Anyway, after making the selections and
submitting your form, on the next page you can access the data
selected by using $value=$_POST["obj_name"]; where obj_name is the
name value on your form. With radio buttons, checkboxes, or select
lists the information placed in $value will be whatever you have setup
for the form objects value, or option value. Use $_POST only if you
are using POST for the method to submit the form, otherwise if you use
GET for the method, use $_GET.

[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

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