brown2005 Posted May 21, 2009 Share Posted May 21, 2009 echo'<span id="stats">'. echo CountProfiles(); .'</span>'; how can i get that to work please? Link to comment https://forums.phpfreaks.com/topic/159087-echoing-a-function/ Share on other sites More sharing options...
Zhadus Posted May 21, 2009 Share Posted May 21, 2009 If CountProfiles returns a value, you can just do this: echo '<span id="stats">'. CountProfiles() .'</span>'; Link to comment https://forums.phpfreaks.com/topic/159087-echoing-a-function/#findComment-838975 Share on other sites More sharing options...
brown2005 Posted May 21, 2009 Author Share Posted May 21, 2009 thank you very much. I thought I tried that, but obviously I did not do it correctly. Link to comment https://forums.phpfreaks.com/topic/159087-echoing-a-function/#findComment-838981 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.