Looking at what you have in the other preg_replace functions, shouldn't #[^0-9#]i actually be #[^0-9]#i
With regard to your include files, that is down to you to check the paths to the files are correct I am afraid.
As for the mysql_num_rows issue, your query will presumably not work until you have resolved the preg_replace issue.
simplypixie
Practically a Master Poster
642 posts since Oct 2010
Reputation Points: 157
Solved Threads: 118
Skill Endorsements: 5
Question Answered as of 6 Months Ago by
simplypixie