I can just never remember which one i'm supposed to use.
I can only suggest changing $search to something simpler to make sure the code actually works, then building it back up until something clicks
(
Kamikaze Stoat £4.09, Wed 8 Sep 2004, 21:27,
archived)