WampServer
Apache, PHP, MySQL on Windows
Home forum
Back to WampServer
presentation
Downloads
Addons
Trainings
Alter Way
Go to Topic:
Previous
•
Next
Go to:
Forum List
•
Message List
•
New Topic
•
Search
•
Log In
•
Print View
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:
Reply
•
Quote
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:
Reply
•
Quote
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:
Reply
•
Quote
Go to:
Forum List
•
Message List
•
Search
•
Log In
Sorry, only registered users may post in this forum.
Click here to login