Jump to content

[SOLVED] Is it possible to add symbols without the php 'breaking'?


28rain

Recommended Posts

I get this error when i change from this;

<td valign=\"bottom\" halign=\"right\">$price</td>

to;

<td valign=\"bottom\" halign=\"right\">£$price</td>

is there any way to surpass this or a solution?

Thanks lots!

Sorry special here forgot to say the error;

Warning: Illegal or truncated character in input: offset 40

Erm well im adding it all to a variable... Heres the script;

$display_block .= 
"<table width=800 columns=4 cellspacing=5 cellpadding=3 border=\"5\" 
bordercolor=\"orange\">
<tr>
<td rowspan=\"2\"><img src=\"images/$picture\" width=\"10\"
height=\"10\" align = \"center\"></td>
<td Valign=\"top\" halign=\"left\"><a href = \"$id.html\"><strong>
<font color=black size=5>
$title</font>
</strong></a></td><td valign=bottom>    Gender: $sex </td>
<td width=110 align= \"center\">$price</td>
</tr>
<tr>
<td halign = \"left\">$brand</td>
<td halign = \"center\">$notes</td>
<td halign = \"right\" valign=\"bottom\"><font size=2> Ref number = $id</font></td>
</tr>
</table>
<br>
<br>
";

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.