Ron Piggott wrote:
Let me try this is a different way.What is the variable which I am able to retrieve? I am expecting theresult to be a 0, 1 or 2.
Your original problem was getting a parse error. Your query is not php code - step 1 is to fix that. Once you've done that, post the new code and new problem you're having. -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php