Jump to content

Change Radio Button Value To Null


yangkai9999
 Share

Recommended Posts

Hello,I created a PHP-MySQL web database. It inclued a modify exist data function. Now, I would like to built a function that can set a radio button from a value to null. I counld not find a way to do that except manually using MySQL update command to set null value for the variable.Is there a way to do so using PHP?Thank you

Link to comment
Share on other sites

I'm not quite sure what you're asking, but you have to use SQL to communicate with the database. PHP alone can't use the database without sending SQL commands to it. If you want to set a value to null you just use the special value NULL, without quotes around it.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...