So, would this work? I don’t want to do it and screw something up. I’m not a php guy, obviously
I just googled a bunch and tried to frankenstein this code together. Let me know if I’m a complete idiot - what would I use in place of $currentdata or is that a global identifier?
<?php
$newdata = eregi_replace("<p>","", "$currentdata");
$newdata = eregi_replace("</p>","", "$newdata");
echo "$newdata";
?>
EDIT: Just tried it and it’s taking out everything inbetween the tags along with the tags. Oops! What is wrong with this code? I also tried str_replace with no luck.