in reply to Script won't retrieve data from database

I believe your quoting of the parameter in query() is wrong. You shouldn't quote $count1 in the string.

Owl looked at him, and wondered whether to push him off the tree; but, feeling that he could always do it afterwards, he tried once more to find out what they were talking about.

Replies are listed 'Best First'.
Re^2: Script won't retrieve data from database
by kwaping (Priest) on Apr 28, 2006 at 18:32 UTC
    Speaking of which, where does $count1 come from, anyway? Did you (OP) mean $count?

    ---
    It's all fine and dandy until someone has to look at the code.
Re^2: Script won't retrieve data from database
by lampros21_7 (Scribe) on Apr 28, 2006 at 18:36 UTC
    Thanks for the comment but it doesn't make any difference. I get the same result