Jump to content

[SOLVED] Unexpected TL Number


refiking

Recommended Posts

How do I get this to work?

Echo ' <td>

<a href="index.php' .  $slink . '" javascript:imagechange(); onMouseOver="imgChange('5', '/image/down_home.png'); playSound(0);"onMouseOut="imgChange('5', 'image/up_home.png'); playSound(0);" ><img border="0" src="image/up_home.png"><img border="0" src="image/separator.gif" width="2" height="34"></a></td>';

[/php']

Link to comment
https://forums.phpfreaks.com/topic/131272-solved-unexpected-tl-number/
Share on other sites

Your need to escape your single quotes within your string.

 

echo ' <td>
<a href="index.php' .  $slink . '" javascript:imagechange(); onMouseOver="imgChange(\'5\', \'/image/down_home.png\'); playSound(0);"onMouseOut="imgChange(\'5\', \'image/up_home.png\'); playSound(0);" ><img border="0" src="image/up_home.png"><img border="0" src="image/separator.gif" width="2" height="34"></a></td>';

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.