hi guys,
how can i make this:?
if the values for example in checkbox is null,i mean if i didnt choose any thing,and i did a submit,how can i prevent mysql to insert something in the table?
[Solved]:problem with php checks
Moderator: General Moderators
[Solved]:problem with php checks
Last edited by mekha on Wed Jul 11, 2012 11:52 am, edited 1 time in total.
Re: problem with php checks
Code: Select all
if (isset($_POST['checkboxname']))
{
// query goes here
}Re: problem with php checks
Oh, thank u man !