WilliamMute007
Programmer
Hello again,
Am back again with help need
Can anybody please point me to what is wrong with the code below?
It is having problem with the last paragraph
I keep getting the error "Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/fhlinux132/m/miraclemakers.co.uk/user/htdocs/preview/directors.php on line 192"
Any help is much valuable.
Thank you!
Am back again with help need
Can anybody please point me to what is wrong with the code below?
Code:
mysql_select_db($database_Connection, $Connection);
$sql = "Select count(*) as cnt FROM directors";
$result = mysql_query($sql);
$row = mysql_fetch_row($result);
$numrows = $row['cnt'];
It is having problem with the last paragraph
Code:
$row = mysql_fetch_row($result);
I keep getting the error "Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/fhlinux132/m/miraclemakers.co.uk/user/htdocs/preview/directors.php on line 192"
Any help is much valuable.
Thank you!