Jump to content

Change Radio Button Value To Null


yangkai9999

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

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.
Thank you, I'll try that.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...