Forum Moderators: coopster
onMouseOver='window.status="Some alternative text here"; return true' onMouseOut='window.status="Done"; return true'
echo "<tr height=28><td height=15 bordercolor=lightgrey bgcolor=lightgrey><table width=100%><tr><td align=left><b>$points</b> Points</td><td align=right><a onmouseover="window.status='Complete';return true onmouseout="window.status=' ';return true;" href=\"$url$sid\" target=_blank>Complete</A>";
But when I try top call up the page I get a
"Parse error: parse error, unexpected T_STRING, expecting ',' or ';'
href=\"$url$sid\". As it is, you're getting the error because PHP thinks you want to echo out only up to... "window.status ...because it thinks you mean to close the quotes there. To tell PHP that you mean to use a litereal double quote there, escape the quote with a backslash: \"