Padgoi Posted February 20, 2008 Share Posted February 20, 2008 I have this code: echo "<td class=\"ratingpage\">$title<td class=\"ratingpage\">$message<td class=\"ratingpage\">$date</td></td><td> <br> "; But it's displaying all the information in one line where it should be skipping spaces after each line. Anyone can help me out with this? Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/92159-quick-question/ Share on other sites More sharing options...
Mav666 Posted February 20, 2008 Share Posted February 20, 2008 You are missing the <tr> in the front and the matching </tr> in the back. The <br> has no function where you have it. HTH Link to comment https://forums.phpfreaks.com/topic/92159-quick-question/#findComment-472054 Share on other sites More sharing options...
aebstract Posted February 20, 2008 Share Posted February 20, 2008 echo "<table><tr><td class=\"ratingpage\">$title</td><td class=\"ratingpage\">$message</td><td class=\"ratingpage\">$date</td></tr></table> "; This shouldn't be in the php section.. Link to comment https://forums.phpfreaks.com/topic/92159-quick-question/#findComment-472056 Share on other sites More sharing options...
Padgoi Posted February 20, 2008 Author Share Posted February 20, 2008 Thanks, worked! Link to comment https://forums.phpfreaks.com/topic/92159-quick-question/#findComment-472057 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.