Please ignor my previous post, it works a treat(although a little slower n my server).
I have one question, the example uses localhost and root with password which i understand is need for populating the databese. However for the search could i use localhost/any with limited permissions. Or am i just being paraniod?
Thanks great example.