Cheers Konrad,
I see what you have done, using the inner query to replace <BR> with <br> and then use the explode function on <br>, but i'm getting a syntax error:
syntax error, unexpected ';'
On this line:
$first_para = explode("<br>", str_replace('<BR>', '<br>', $row['story_text']);
Can't see where though. Everything seems to match up for me