$ 0 0 I assume the problem is with your code. Is it working fine when you run the query in database ?