Well the form has to submit to the other file. Normally with default PHP
configurations it will automatically make the variables $Steak, $XYZ, and
$CHIPs with the corresponding values IF the checkboxes are checked. If it's
not checked nothing is set.
So you can do this on the receiving page:
If (!isset($Steak)) $Steak = 0;
If (!isset($XYZ)) $XYZ = 0;
If (!isset($CHIPs)) $CHIPs = 0;
Remember that variable names are case sensative.
On 10/18/2001 4:48 PM this was written:
> I have file .....
>
> index.php3.... a form in it ...
>
> <input type=checkbox name=Steak value="15.25">
> <input type=checkbox name=XYZ value="10.25">
> <input type=checkbox name=CHIPs value="5.25">
>
> and how to make it that form.php3 will read all the data that was submitted
> (i'm mean the name and the value)
--
Thomas Deliduka
IT Manager
-------------------------
New Eve Media
The Solution To Your Internet Angst
http://www.neweve.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]