Validating form field with table fields in MYSQL through PHP .... how do i do that!
mycsmi
0
Newbie Poster
Recommended Answers
Jump to PostHow do you mean? Validating a form that sends data to a MySQL database?
for that i use (js):
<html> <head> <script type="text/javascript"> function validate_required(field,alerttxt) { with (field) { if (value==null||value=="") {alert(alerttxt);return false;} else {return true} } }function validate_form(thisform) { with (thisform) { if (validate_required(email,"Email must …
All 4 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.