How to select larger or max id from database flutter

Replace;

$query=”SELECT MAX( id ) AS max_id FROM addcomment”;

And echo row[“max_id”]

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top