Re: html and php



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
.