Forum Moderators: coopster
I am using the code at the bottom , but it keeps removeing some of my " and some of my slashes could you tell me what i need to do to my code to make my code out put a string, like the one i would like to create above.
PROBLEMATIC RESULTING STRING
<a href="#" onMouseOver="MM_swapImage("imageswapable,,/tshirts/jpgs/big/whiteshirt_247.jpg,//,0)>white</a>
CODE I AM CURRENTLY USING
$out = '<a href="#" onMouseOver="MM_swapImage("imageswapable","",""';
$out .= ltrim($rowcolour['lg_image_link']).',"//"';
$out .= '",0)">';
$out .= $rowcolour['colour'];
$out .= '</a><br>'; echo $out;
echo "\n";
$out = '<a href=\"#\" onMouseOver=\"MM_swapImage(\"imageswapable\",\"\",\"\"';
$out .= ltrim($rowcolour['lg_image_link']).',"//"';
$out .= '",0)">';
$out .= $rowcolour['colour'];
$out .= '</a><br>'; echo $out;
echo "\n";
i end up with this as html out put in my source.
<a href=\"#\" onMouseOver=\"MM_swapImage(\"imageswapable\",\"\",\"\"/tshirts/jpgs/big/whiteshirt_247.jpg,"//"",0)">white</a><br>
it gets back my " marks but i what should i do about the slashes?