Hi guys,
I have a script that pulls info from a db and I need to determine if the db field contains ul for this I used:
if(strstr($row['body'],ul)){}
but now I need to know how to insert </p> before the ul is read from the db. I am doing this so that the page validates. I DO NOT want to alter the db field. I just want to change the string before it is displayed to the browser.
Does anyone have any ideas?
thanks guys and gals