$sql="select ID from table";
$result=@($sql,$db);
$tempRows=@mysql_fetch_array($result);
echo ($tempRows["ID"]);
done,OK!
how about this:
$sql="select max(ID) from table";
$result=@($sql,$db);
$tempRows=@mysql_fetch_array($result);
echo ($tempRows["?"]);
what's the string with "?" ?
I have no idea.😕