Code for INSERT INTO into database and if fields are null, it will prompt for null fields.

What are you looking for, form validation? Please explain in more detail.

Thanks for the reply. Yeah i'm looking for form validation and some php script that will send values to the database if the form fields are not null.

If you search this forum, you will find plenty of examples.