php-windows Digest 27 Jul 2007 14:54:27 -0000 Issue 3294

Topics (messages 28254 through 28256):

Re: Error: illegal character I need help
        28254 by: Niel Archer
        28255 by: Stephen

n00b cannot start MySQL
        28256 by: Abhisek Dutta

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin 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

--- End Message ---
--- Begin Message ---
if anyone want's to take a look at the whole code e-mail me and i'll send it 
to you if you feel liek helping me. I feel like I have not set my PHP up 
right or something.
""Stephen"" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>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- 

--- End Message ---
--- Begin Message --- I am an extreme n00b here in PHP. just started learning PHP. Can't start MySQL. The command-prompt says:
/Can't connect to MySQL server on 'localhost./
'telnet localhost 10061' gives:
/Connecting to localhost...Could not open connection to the host, on port 10061: Connect failed./
But 'services.msc' shows MySQL is running.
I am a WinXP user. Running Apche 2.2/PHP5.2/MySQL4.1
Help much appreciated.
regards and thanks
Abhisek

--- End Message ---

Reply via email to