Hi all,
I have an odd problem. I have an online form, click submit and all info goes to the db table.
I put a if $POST['fieldname']{ $POST all data into variable and then insert into table. }
It works fine, I test is, all info shows up in db.
However... I also get empty records?????
I have client side validation on the form so u cannot submit unless all fields are entered, and if someone were to go directly to the postdata .php file it wouldn't post since I put all insert intos into a if $_POST.
Yet I get empty records. I don't know if it's someone is trying to fill out the form, but even if they did, it wouldn't get submitted unless all data was passed. So why am I getting empty records.
I'm not posting code because I know for a fact the code is fine.
Just wondering if anyone would know why mySQL would do such things.... Anyone know what the problem could be?
I guarantee it's not on the code side.!!
Thanks
MK