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? Quote 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>'; Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/159087-echoing-a-function/#findComment-838981 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.