Forum Moderators: coopster
I am getting errors like
Unknown modifier '(' in c:\phpdev.....
What I am using is:
preg_match_all("<title>([.*?])<\/title>" ,$buf,$words);
Then it loops through the words and inserts then into the db.
The system works fine when I just do it on all the words but that aint quite what I am after. Any suggestions.
Regards
To get the effect you want, try
preg_match_all("{<title>([.*?])</title>}" ,$buf,$words);
or
preg_match_all("/<title>([.*?])<\/title>/" ,$buf,$words);
Hope that helps
-Andrew