Originally Posted by Fou-Lu
No, it won't work by itself. I didn't write in anything to do with the SQL execution, just the string it would use. Your original post indicates that you have used the query functions for mysql in the past, so simply wrap that $sQry in a mysql_query call. You may want to print it out first to verify that it is indeed correct.
Feel a little silly now for not noticing it was in a string.. (duh!) - Thanks for that, I shall give it a try!