Our sys admin upgraded to the most recent version of php and it broke many of our websites that we host.
From the research that I have done, Function ereg_replace() is depreciated and no longer works in this version of PHP.
originally the line of code was:
$bio = ereg_replace("\n", "</p><p>", $row["bio"]);
When i change it to:
$bio = preg_replace("\n", "</p><p>", $row["bio"]);
I get a new error:
Warning: preg_replace(): Empty regular expression in/home/....../public_html/filename.php on line 70
what am i missing? Thank you in advance for any assistance.