I've got enough errors I don't even wanna think anymore!
Here's what I've got for code:
$sql="SELECT max(id) FROM '".$tbl_name."'";
$result=mysql_query($sql);
$row = mysql_result($result,'id',0);
$row returns as 0, my column in MySQL is ID, and the error is this:
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in *file*.
What typo is it?
Here's what I've got for code:
$sql="SELECT max(id) FROM '".$tbl_name."'";
$result=mysql_query($sql);
$row = mysql_result($result,'id',0);
$row returns as 0, my column in MySQL is ID, and the error is this:
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in *file*.
What typo is it?