AdRock Posted September 3, 2006 Share Posted September 3, 2006 I have quite a lot of text in a record in my database and have about six paragraphs on the page when it's displayed.I used this line of code to display the record on the page[code]echo "<p class='style3'><img src=http://www.jackgodfrey.org.uk/images/".$code['photo'].">".nl2br($code['content'])."</p>";[/code]is it possible to have in the middle of the page, whcih would be in the middle of the nl2br, another image that was stored in the database.I currently have to have 2 records displayed per page but there is a noticeable spacing size difference between the last paragraph and new paragraph Link to comment https://forums.phpfreaks.com/topic/19582-is-it-possible-to-position-an-image-in-the-middle-of-a-nl2br/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.