in reply to mySQL Query Problem

What is the error message that you get as it's very unlikely to be the ? causing the problem as the execute statement should escape it for you.