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 + "
<tr>
<td bgcolor=\"$type_color\" class=\"copy\" width="\10\">  <-- this line
<div align=\"center\">
...
</td>
</tr>
";

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

Reply via email to