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] Quote Link to comment 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>"; } ??? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.