RE: [PHP] help:how to do it? checkbox&php

From: Date: Mon, 07 Aug 2000 10:50:04 +0000
Subject: RE: [PHP] help:how to do it? checkbox&php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-10442@lists.php.net to get a copy of this message
You still need a form. But if you click on a *link* then your form won't be submitted therefore the values of your checkboxes won't be sent. Can you use a submit button rather than a link? - Jason Wong Digital View Ltd 2201 Nanyang Plaza 57 Hung To Road Kwun Tong HONG KONG Tel: +852-2861-3615 Fax: +852-2520-2987 www.digitalview.com > -----Original Message----- > From: deryk [mailto:chenzfeng@sina.com] > Sent: 07 August 2000 16:59 > To: php-general@lists.php.net > Subject: RE: [PHP] help:how to do it? checkbox&php > > > jurphp@unbounded.com (Jurian) wrote in > <4.3.0.20000807102438.00b788f8@unbounded.com>: > > I understand your meanings.What I want to do is to show a table in > my browser,while in the table before every item there's a checkbox > you may choose it or not.after all checkings are OK,I click a link(to a > .php > file)so in that file I can process the items which are checked.so > I need to > get the every checkbox's checked value > while i'm not using a form,just a table:( > Can I using a form which > include a table(the table include the checkbox)?maybe in this way is > OK,I'll try it. > > >Ok, maybe we're all stupid, but how do you want to submit form stuff > >without using a form? > >checkboxes are form thingies, using them outside of a form wont do > >anything, they will not do anything, no matter how hard you try. How > >should the browser know where to send the data to if you dont use a > >form? Right, it CAN'T know where to send it, cause you never told it. > >Solution: use a form. Whats the problem with using a form anyway?? why > >on earth wouldn't you just use a form? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#10442) next »