Re: [PHP] I can't find the problem - parsing error
Pax, If the backslashes are to escape the double-quotes then the one after "width" is the wrong way around. "\10\" I would expect to be \"10\" Hope this helps. Regards Chris Pax wrote: >I have the following line of code: > > >$this->html=$this_>html + " > > <-- this line > >... > > >"; > >I get Warning: unexpected character in input '\' (ASCII=92) state=1 >And Parse Error in the same line..I am just sitting and looking at that >line and can't find the problem..can anyone see the problem? > >Paul > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] I can't find the problem - parsing error
Swap round the " and \ before the number 10 ie "\10\" should be \"10\" HTH, Richy == Richard Black Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com Tel: 0141 435 3504 Email: [EMAIL PROTECTED] -Original Message- From: Pax [SMTP:[EMAIL PROTECTED]] Sent: 27 February 2002 15:47 To: [EMAIL PROTECTED] Subject:[PHP] I can't find the problem - parsing error I have the following line of code: $this->html=$this_>html + " <-- this line ... "; I get Warning: unexpected character in input '\' (ASCII=92) state=1 And Parse Error in the same line..I am just sitting and looking at that line and can't find the problem..can anyone see the problem? Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] I can't find the problem - parsing error
-Original Message- From: Pax [mailto:[EMAIL PROTECTED]] Sent: mercredi 27 février 2002 16:47 To: [EMAIL PROTECTED] Subject: [PHP] I can't find the problem - parsing error I have the following line of code: $this->html=$this_>html + " <-- this line ... "; I get Warning: unexpected character in input '\' (ASCII=92) state=1 And Parse Error in the same line..I am just sitting and looking at that line and can't find the problem..can anyone see the problem? Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php