I need some way to display just the first of many paragraphs of what is in my database. In ASP it was pretty simple, but I'm having a hard time understanding php.
Thanks Kevin kking@ktul.com
I forgot to mention the delimeter I'm trying to use. It's <br> and here is the code in ASP:
<% Delimeter = "<br>" txt = rsNews("content") paragraph = Left( txt, InStr( txt, delimeter) -1 ) Response.Write paragraph %>
Thanks again
$txt = $rsNews["content"]; $paragraphs = explode ("<BR>", $txt); echo $paragraphs[0];