Re: javascript in php

From: Date: Wed, 12 Jun 2002 21:54:48 +0000
Subject: Re: javascript in php
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-14198@lists.php.net to get a copy of this message
> I have this HTML form and its validation done in javascript. All this HTML and Javascript inside echo""; in a PHP code. The Form loads fine and the validation also works fine when the HTML and javascript are used independently as an HTML page. But when put in PHP, the form is ok, but the validation simply does not work....it is totally ignored. It could be problem with backcslashes before double quotes or other interferences between echo "" and content of string in quotes. There's no need to place JScript into echo"" - It's easier to read and maintenance JavaScript code when it is used independently.

« previous php.windows (#14198) next »