PHP checking POST and new information?

pandemonium7386

New member
How would I write a code to see if a new information has been added, and if the post variables didn't post blanks?

My primary key is a cuID which is auto incremented everytime it receives new information, so maybe that can be used?
 
if(!isset($_POST['cuID'])){
echo "I am not set";
}

or if you are looking for "" white space/blanks you can

if(in_array("",$_POST) && !isset($_POST['cuID'])){
echo "Bogus data in here";
}
 
Back
Top