Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checkbox mayhem

Status
Not open for further replies.

KarveR

MIS
Dec 14, 1999
2,065
GB
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top