I have a pretty basic ( I hope) question. I am learning PHP and want to make a small database driven site. I have the data connections set up and am running an ODBC connection to SQLServer Express -- which I thought was going to be the hard part. Now I just want to quickly test to make sure that there the fields required to submit the record have been filled out. I don't know the right way to do this. I have searched through w3schools and other websites and I am assuming I am just missing something simple.
Basic functionality I want:
onclick for the submit button:
1) check if fields A,B,C are not empty
2) if they all have something in them, call page2.php
Start Free Trial