![]() |
reading from a form
PHP Code:
PHP Code:
Any ideas what im doin wrong here? |
well im no expert but i think the problem is the double $, it should be:
$_POST[sd_Burning] also make sure your form method is set to post. |
You're using $sd_Burning to index the $_POST array, so it depends on the value stored in that variable.
You probably mean't to use: PHP Code:
|
Also, you need to have a value stored in the checkbox by using the html attribute value. Thus, the $sd_Win_Burning will actually have a value if it is set via the form.
|
ye it was the second $. Thx guys.. And for checkboxes you dont have to set a value cause it comes back as either "on" or "off" but other fields i think you are correct Andrew.
|
| All times are GMT. The time now is 02:59 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0