Tag Archive | "input type"

Using Checkbox In Php With Mysql Database ///?


hello .. i m using checkbox in my php web form in which i m fetching values from mysql (phpmyadmin) database something like this ..
if the user is ‘activated’ then my checkbox will be checked and if not activated (‘verify’) then my checkbox will not be checked .. .
now its working fine .. what i want is i have an update button and if the user clicks on it then as per my selection of checkboxes .. my database must be updated as ‘activated’ whichever i have checked and for those which are unchecked will be going in ‘verify’ .. but m stuck here as m not able to find out how to do this .. here is my sample code what m doing . .
————————————–…
try.php
—————————-

<input type="checkbox" value="” name=”status” id=”status”

/>

————————————–…
what exactly my proper code can me in the ‘submit1’ to do this ..
should i have to change this ..
please masters help me ..

Posted in Affiliate Marketing 101Comments (0)


Archives

Powered by Yahoo! Answers