Users Pricing

forum

home / developersection / forums / select the maximum value of a colum in mysql

Select the maximum value of a colum in MySQL

Anonymous User 2379 01 Dec 2015
 All I want to do is select the maximum value of a column in MySQL. Like this:
$max = "SELECT MAX(Id) FROM trialtabel2"; 
$max1 =  mysqli_query($dblink, $max); 
echo= $max1;
My debugger is just saying that it is a query returning a 0 boolean value (false)

I am a content writter !


1 Answers

Anonymous User 01 Dec 2015 Accepted Answer