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 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 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; 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();">'; 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 Link to comment https://forums.phpfreaks.com/topic/251472-how-to-echo/#findComment-1289756 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.