I am running into issues.
I have a blog on WAMP and when I go to index.php I get the following error:
Here is line 56 of that file:
Now, I did search Google and read on about a dozen sites to change the eregi instance to preg_match but neither of them work.
Here is what I get when I change to preg_match
Anyone have any ideas?
Sorry about all the no0b questions lately guys, but your help is really appreciated. I have been working on this since before Christmas and aint gonna stop now.
edit: I am running PHP 5.3.1
I have a blog on WAMP and when I go to index.php I get the following error:
Deprecated: Function eregi() is deprecated in C:\wamp\www\vicblog\includes\classes\class.template_engine.php on line 56
Here is line 56 of that file:
PHP:
if(eregi("\{LOOP: " . $name . "\}(.*)\{/LOOP: " . $name . "\}", $this->html,$parts))
Now, I did search Google and read on about a dozen sites to change the eregi instance to preg_match but neither of them work.
Here is what I get when I change to preg_match
Warning: preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in C:\wamp\www\vicblog\includes\classes\class.template_engine.php on line 56
Anyone have any ideas?
Sorry about all the no0b questions lately guys, but your help is really appreciated. I have been working on this since before Christmas and aint gonna stop now.
edit: I am running PHP 5.3.1