forum

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

Select the maximum value of a colum in MySQL

Anonymous User 2258 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)

Updated on 01-Dec-2015

I am a content writter !

Can you answer this question?

Answer

1 Answers

Liked By