RE: [PHP-WIN] Error: illegal character I need help
| From: | Jeff White | Date: | Fri, 27 Jul 2007 01:50:48 +0000 |
| Subject: | RE: [PHP-WIN] Error: illegal character I need help | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-28253@lists.php.net to get a copy of this message | ||
Hello Stephen,
At first glance, in your message I noticed that the second backslash (
\"checkbox"\ ) is after the double quote. The backslash should be before the
double quote for proper escaping in JavaScript. That could be your problem
possibly.
-----Original Message-----
From: Stephen [mailto:therealzerocool@gmail.com]
Sent: Thursday, July 26, 2007 8:24 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Error: illegal character I need help
I am trying to get a sample code that I got from the internet to work on my
website. Every time that I check the error logs I get tis message:
Error: illegal character
Source File: http://192.168.0.102/wle_form.php?run=&
Line: 969, Column: 55
Source Code:
if(document.AuthChangesForm.elements[i].type == \"checkbox"\ &&
document.AuthChangesForm.elements[i].name == SwitchName )
Can anyone help me with this. I hope it is the only thing that is stopping
this program from running.
-Stephen-
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php