DillyDog Posted May 16, 2008 Share Posted May 16, 2008 I'm really sorry if this has been asked before, I am a complete newbie to PHP and don't really know what to look for. I am using AuthPro for memberships on a site and I have a little snippet of code that displays the names of members currently online. <script language="JavaScript" src="http://www.authpro.com/cgi-bin/auth.fcgi?user=tdm&action=members_online_count"> </script At the moment, this displays the names in one line without any spaces or line breaks, i.e. tom,dick,harry,virgil,tarquin,bill etc. This piece of code sits in a table cell that I really don't want to grow in width, therefore I require the code to display the names with a return between them, i.e: tom dick harry virgil tarquin bill Is this possible, and if it is, how do I do it? Kind regards Dillydog Link to comment https://forums.phpfreaks.com/topic/105915-line-returns/ Share on other sites More sharing options...
DarkWater Posted May 16, 2008 Share Posted May 16, 2008 We'd appreciate some code so we could actually help you. Link to comment https://forums.phpfreaks.com/topic/105915-line-returns/#findComment-542759 Share on other sites More sharing options...
DillyDog Posted May 16, 2008 Author Share Posted May 16, 2008 That is the code in my first post, I'll repeat: <script language="JavaScript" src="http://www.authpro.com/cgi-bin/auth.fcgi?user=tdm&action=members_online_count"> </script> Link to comment https://forums.phpfreaks.com/topic/105915-line-returns/#findComment-542768 Share on other sites More sharing options...
kenrbnsn Posted May 16, 2008 Share Posted May 16, 2008 That is referencing a third party Javascript function. Ask them. Ken Link to comment https://forums.phpfreaks.com/topic/105915-line-returns/#findComment-542798 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.