boilerfan Posted April 17, 2007 Share Posted April 17, 2007 Hi all, PHP newbie here. I have a JS file that constantly updates the playlist on a radio station. It looks like this when FTP'd to the server: count=14 song14title='over it' song14artist='katherine mcphee' song14time= '4/17/2007 4:17:28 pm' song13title='perfect' song13artist='simple plan' song13time= '4/17/2007 4:13:10 pm' song12title='say it right' song12artist='nelly furtado' song12time= '4/17/2007 4:09:34 pm' song11title='when youre mad' song11artist='ne-yo' song11time= '4/17/2007 4:06:36 pm' song10title='glamorous' song10artist='fergie ft. ludacris' song10time= '4/17/2007 4:02:39 pm' song9title='makes me wonder' song9artist='maroon 5' song9time= '4/17/2007 3:58:54 pm' song8title='dont matter' song8artist='akon' song8time= '4/17/2007 3:54:59 pm' song7title='collide' song7artist='howie day' song7time= '4/17/2007 3:46:12 pm' song6title='if everyone cared' song6artist='nickelback' song6time= '4/17/2007 3:42:28 pm' song5title='do it to it' song5artist='cherish' song5time= '4/17/2007 3:38:51 pm' song4title='here without you' song4artist='3 doors down' song4time= '4/17/2007 3:31:42 pm' song3title='girlfriend' song3artist='avril lavigne' song3time= '4/17/2007 3:28:03 pm' song2title='give it to me' song2artist='timbaland' song2time= '4/17/2007 3:25:07 pm' song1title='lost without u' song1artist='robin thicke' song1time= '4/17/2007 3:16:22 pm' song0title='since youve been gone' song0artist='kelly clarkson' song0time= '4/17/2007 3:13:23 pm' I can't figure out how to format it so it drops into a nice looking table: Artist 1 Title 1 Date 1 Artist 2 Title 2 Date 2 Artist 3 Title 3 Date 3 Any help is much appreciated! Link to comment https://forums.phpfreaks.com/topic/47458-format-js-file-content-into-nice-looking-table/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.