killervastu Posted November 20, 2011 Share Posted November 20, 2011 <span class="hotspot" onmouseover="tooltip.show('User ID :');" onmouseout="tooltip.hide();"> i want to know how to echo this above code Quote Link to comment https://forums.phpfreaks.com/topic/251472-how-to-echo/ Share on other sites More sharing options...
floridaflatlander Posted November 20, 2011 Share Posted November 20, 2011 I think its echo '<span class="hotspot" onmouseover="tooltip.show'.$User_ID.';" onmouseout="tooltip.hide();">'; I don't know anything about js so if you may need it '.($User_ID).' I don't know Quote Link to comment https://forums.phpfreaks.com/topic/251472-how-to-echo/#findComment-1289702 Share on other sites More sharing options...
killervastu Posted November 20, 2011 Author Share Posted November 20, 2011 I think its echo '<span class="hotspot" onmouseover="tooltip.show'.$User_ID.';" onmouseout="tooltip.hide();">'; I don't know anything about js so if you may need it '.($User_ID).' I don't know it not $user_id its only the text to display i founded a way in a book echo $ht = <<<a //html code here a; Quote Link to comment https://forums.phpfreaks.com/topic/251472-how-to-echo/#findComment-1289752 Share on other sites More sharing options...
sunfighter Posted November 20, 2011 Share Posted November 20, 2011 Also: echo '<span class="hotspot" onmouseover="tooltip.show(\'User ID :\');" onmouseout="tooltip.hide();">'; Quote Link to comment https://forums.phpfreaks.com/topic/251472-how-to-echo/#findComment-1289754 Share on other sites More sharing options...
killervastu Posted November 20, 2011 Author Share Posted November 20, 2011 Also: echo '<span class="hotspot" onmouseover="tooltip.show(\'User ID :\');" onmouseout="tooltip.hide();">' Ya this is too working and thanks for the reply Quote Link to comment https://forums.phpfreaks.com/topic/251472-how-to-echo/#findComment-1289756 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.