Hi:
I wanted to know how a null statement will go into PHP. I am learning as I go along. What I am trying to say below is if the code is not null then place in a 4 into standardads field otherwise do not do anything. Please check if I wrote it correctly. Thanks
I wanted to know how a null statement will go into PHP. I am learning as I go along. What I am trying to say below is if the code is not null then place in a 4 into standardads field otherwise do not do anything. Please check if I wrote it correctly. Thanks
Code:
if(isset($_POST[s1]))
{
$q1 = "insert into class_members set
code = '$_POST[code]',
if(isnotnull($_POST[code]))
{
StandardAds=4
}
}
RegDate = '$t' ";
etc.....