At 1:18 AM -0700 8/29/09, Warren Vail wrote:
To test a form I usually send the form contents to a php file that contains the following; foreach($_POST as $nm => $val) echo "_POST[".$nm."] [".$val."]<br>"; foreach($_GET as $nm => $val) echo "_GET[".$nm."] [".$val."]<br>"; Checkboxes and radio buttons only send their value if the control is "checked".
That's correct, here's the way I solve both types: http://php1.net/b/form-radio http://php1.net/b/form-radio1 http://php1.net/b/form-checkbox/ http://php1.net/b/form-checkbox1/ Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php