|
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.
Navigation:
[Reply to this message]
|