Hello everyone,
I'm really new in PHP. I want to make a script that inserts records into my database. There need to be some required fields so the script has to say that fields aren't filled in.
Can anyone help me building this script?
Thanks Jurgen
if (!$required_field_1 || !$required_field_2 || !$required_field_3 .... and so on ...) { echo "you missed a required field"; } else { // insert data... }