> I don't know if this is actually it, but the line
> $num_vals[$i] = mysql_fetch_array($result);
> seems strange to me - doesn't mysql_fetch_array return an array?
> You should try
> list($num_vals[$i]) = mysql_fetch_array($result);
> and see if you get any improvements...
No, that was not it. I
I don't know if this is actually it, but the line
$num_vals[$i] = mysql_fetch_array($result);
seems strange to me - doesn't mysql_fetch_array return an array? You should try
list($num_vals[$i]) = mysql_fetch_array($result);
and see if you get any improvements...
Daniel Alsén wrote:
> I have work
I have worked this over in my head over the holidays and still haven´t got a
solution. Can anyone help?
I have a MySql table populated with numerical values from 0 to 10 in five
different fields. I need a function that counts all occurances of each
value, ie: 1: 12, 2: 3, 4: 74 etc...
I have wor
3 matches
Mail list logo