Jump to content

Line returns


DillyDog

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.