Somehow I can't seem to be able to figure this one out.
I have a simple form with text fields:
<input type="text" name="val1">
<input type="text" name="val2">
<input type="text" name="val3">
<input type="text" name="val4">
If a user enters info in val1-3 and submits, how do Iinput this in db.
Do I have to do a check for eac value submitted?
if ($_POST['val1'] != '') {
// INSERT INTO...
}
and so on?..