I understand that ereg() and eregi_replace() have been deprecated and should be replaced with preg_match() and preg_replace(), with the ‘i’ modifier, respectively. When I make these updates I get the following error message:
Warning: preg_match() [function.preg-match]: Unknown modifier ‘{’ in /home/content/76/10971376/html/order_form.php on line 206
Fatal error: Call to undefined function pregi_replace() in /home/content/76/10971376/html/order_form.php on line 225
I know very little about PHP and would appreciate any help you are willing to provide.