doron
Tue 11th Jul '00, 12:38pm
I have the following code:
$votes=$DB_site->query_first("SELECT COUNT(userid) FROM pollvote WHERE pollid=$pollid")
doing the select statement via telnet brings 0, the above returns me 8. If I use query and not query_first, it returns an array, but how do I call on the result in that array?
Doron
(who thinks his brain crashed)
$votes=$DB_site->query_first("SELECT COUNT(userid) FROM pollvote WHERE pollid=$pollid")
doing the select statement via telnet brings 0, the above returns me 8. If I use query and not query_first, it returns an array, but how do I call on the result in that array?
Doron
(who thinks his brain crashed)