rashmi_k28 Posted November 4, 2008 Share Posted November 4, 2008 foreach($users as $user){ $usr=explode("@",$user); echo "<tr>"; echo "<td width=\"14%\" align=\"center\" bgcolor=$color>$usr[0]</td>"; } How to add the onmouseover() when on mouse over $usr[0] which displys the complete $user. The code which I found on google displays the first $user to all the $usr[0] Link to comment https://forums.phpfreaks.com/topic/131329-tooltip/ Share on other sites More sharing options...
JasonLewis Posted November 4, 2008 Share Posted November 4, 2008 I'm not 100% sure what you mean but try this: foreach($users as $user){ $usr=explode("@",$user); echo "<tr>"; echo "<td width=\"14%\" align=\"center\" bgcolor=$color><a title='".$user."'>".$usr[0]."</a></td>"; } ??? Link to comment https://forums.phpfreaks.com/topic/131329-tooltip/#findComment-681949 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.