26.07.2013, 13:44
Change
with
Also, this is not a forum for PHP help.
EDIT: I don't think this will do what you wanted.
PHP код:
$sql = "SELECT * FROM Clubs";
$rs_result = mysql_query ($sql,$connection);
$id = mysql_fetch_row($sql, $connection);
$totalIds = $row[0];
PHP код:
$rs_result = mysql_query ("SELECT * FROM Clubs",$connection);
$row = mysql_fetch_row($rs_result, $connection);
$totalIds = $row[0];
EDIT: I don't think this will do what you wanted.