wrong parameter count?
Posted: Fri Jul 30, 2004 1:21 pm
I get following errors no matter what i do.
Warning: Wrong parameter count for mysql_result()
from these lines:
In DB i have a default value of 0. Table is a poll table which increases vote value every time a vote is cast. Is there any other way to do this?
I would then use the value to give a width to a TD block to represent a vote value...
Thanks for any help...
Rgds: Henri
Warning: Wrong parameter count for mysql_result()
from these lines:
Code: Select all
<?php
$sql1 = mysql_query("SELECT a FROM d_poll1") or die(mysql_error());
$count1 = mysql_result($sql1) or die(mysql_error());
?>I would then use the
Code: Select all
<?php
$count1
?>Thanks for any help...
Rgds: Henri