could any 1 help me out.
im trying to find the biggest id number in a db.
the problem is that the "ID" column is saved as "TEXT"(its important to me).
the language im using is PHP.
tried to use this but it didnt work
$resultt = mysql_query("SELECT MAX(id) FROM object" , $conn); $row = mysql_fetch_array($resultt); $num=$row[maxnum];