Re: Error: illegal character I need help
| From: | Niel Archer | Date: | Fri, 27 Jul 2007 01:58:00 +0000 |
| Subject: | Re: Error: illegal character I need help | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-28254@lists.php.net to get a copy of this message | ||
>
> 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.
Not a PHP question really. However, at a guess I would say *neither* of
the backslashes should be there, so it is a string literal, otherwise
I'd say it would be an invalid variable name. Hence the error.
--
Niel Archer