Re: Javascript doesn't work with PHP????
| From: | Brian Clark | Date: | Tue, 30 Jan 2001 13:29:26 +0000 |
| Subject: | Re: Javascript doesn't work with PHP???? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-37339@lists.php.net to get a copy of this message | ||
Hello Dhaval,
(DD == "Dhaval Desai") dhaval_adams@yahoo.com detected:
DD> I am facing a very big Proble,m with this javascript below: I have
DD> gotten a form validation script. Please copy the script save as
DD> .php and try it out..It doesn't server the purpose...Can anybody
DD> point me to right direction:
It's a bad idea to use JavaScript for form validation. using
JavaScript to the form validation and having PHP process the result is
along the same lines as buying a brand new car and pushing it where
you want to go.
Besides, anyone can disable JavaScript (and many do). I know that the
first time I get an alert('You left First Name blank'), I turn off
JavaScript and go about my business.
It's probably _easier_ to just let PHP do the work. :)
-Brian