Posted by J.O. Aho on 11/27/06 21:11
Gaga wrote:
"Kim André Akerø" wrote in message:
>> echo <<<EOF
>> <a href="user_edit.php?id=${row_dbUsers['id']}" style="color: green;
>> font-size: larger;" mouseover="javascript_function(); return
>> true;">edit</a>
>> EOF;
> Sorry to be such pain in the a** but i have small problem when i want to use
> last example with img src.
> It's all the same but now i want to use image as link...
echo <<<EOF
<a href="user_edit.php?id=${row_dbUsers['id']}" style="color: green;
font-size: larger;" mouseover="javascript_function(); return
true;"><img src="./img/image.png" alt="Image missing" title="Edit" border="0"></a>
EOF;
or
echo "<a href=\"user_edit.php?id=${row_dbUsers['id']}\" style=\"color: green;
font-size: larger;\" mouseover=\"javascript_function(); return
true;\"><img src=\"./img/image.png\" alt=\"Image missing\" title=\"Edit\"
border=\"0\"></§a>";
//Aho
Navigation:
[Reply to this message]
|