Jump to content

Getting array to show on new line?


thereaper87

Recommended Posts

Hello there,

I have this snippet of code

echo "<td><a href='inc/browse.php?act=view&id=$id'>$title</a></td><td>$author</td>";
}

}

//close up the table

echo "</tr></table>";

This is the code that actually displays the links that go to the listing. The problem is, they all show on one line across the screen. How can it be configured to where the next listing is displayed below the previous one. I tried putting:

echo "<br />"

But didn't do it.

Any ideas?

Link to comment
https://forums.phpfreaks.com/topic/210182-getting-array-to-show-on-new-line/
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.