Hi all,
I have a (hopefully simple) problem that is driving me nuts.
I have a form pulling data from MySQl and in just one field I want to use a checkbox, value TRUE or FALSE (as is stored in MySQL.
How do I get the checkbox to be "checked" if the value is "TRUE" in MySQL and the value of the checkbox to be "FALSE" if checked and TRUE if unchecked .. etc etc
Any pointers to a *good* tutorial on this would be a great help as I'd rather learn than be told
PHP.net is no help, webmonkey .. erm well... I need a direct hit on a Howto, (I bought PHP by Example and its an OK book but seems to miss all the really useful info ). I can't have sent that email, it says from Superuser.
I have a (hopefully simple) problem that is driving me nuts.
I have a form pulling data from MySQl and in just one field I want to use a checkbox, value TRUE or FALSE (as is stored in MySQL.
How do I get the checkbox to be "checked" if the value is "TRUE" in MySQL and the value of the checkbox to be "FALSE" if checked and TRUE if unchecked .. etc etc
Any pointers to a *good* tutorial on this would be a great help as I'd rather learn than be told
PHP.net is no help, webmonkey .. erm well... I need a direct hit on a Howto, (I bought PHP by Example and its an OK book but seems to miss all the really useful info ). I can't have sent that email, it says from Superuser.