If I modify my php script I aleways get the following error:
Warning: 0 is not a mSQL query index in /usr/www/research/statistics/schools3.php3 on line 10
Does anyone have any idea what this means and how to fix it??? It always happen with the following statement:
$num2 = msql_numrows($district);
Here is a example of how I use the above statement.
$result = msql("schools", "select * from teacounty where county clike '$county'");
$num = msql_numrows($result);
$i=0;
$code = msql_result($result,$i,"number");
$district = msql("schools", "select * from districts2 where DIST_NUMB like '$code%'");
$num2 = msql_numrows($district);
$j=0;