Posted by J.O. Aho on 11/27/06 11:19
Gaga wrote:
> echo "<a href='user_edit.php?id={$row_dbUsers['id']}'>edit</a>";
> If i want to add color or other effect to this link i get all the time parse
> error.
> I have tryed with normal font color, size, mouseover but all the time...
> parse error.
>
>
echo "<a href=\"user_edit.php?id={$row_dbUsers['id']}\" style=\"color: green;
font-size: larger;\" mouseover=\"javascript_function(); return true;\">edit</a>"
or
echo <<<EOF
<a href="user_edit.php?id=
EOF;
echo $row_dbUsers['id'];
echo <<<EOF
" style="color: green; font-size: larger;" mouseover="javascript_function();
return true;">edit</a>
EOF;
//Aho
Navigation:
[Reply to this message]
|