validate form before sending data to MYSQL
Posted by: Jan (---.sympatico.ca)
Date: July 16, 2006 01:03PM

Hi,

Is there a way or a code in PHP or in HTML that I can insert that would validate the form first before sending or inserting data to database, like if one field is left blank, a message will appear. Please help

Thank you.

Options: ReplyQuote
Re: validate form before sending data to MYSQL
Posted by: CyberSpatium (67.170.181.---)
Date: July 16, 2006 02:16PM

use isset() or is_null()

[us2.php.net]
[us3.php.net]

Options: ReplyQuote
Re: validate form before sending data to MYSQL
Posted by: yfastud (72.236.169.---)
Date: July 17, 2006 02:27PM

Or check this sample that check if info leave blank:
[bnguyen.jlbn.com]
Hope this help,

Options: ReplyQuote


Sorry, only registered users may post in this forum.