simplest way to echo one value of one row
I have this simple query
$qry = "select MAX(image_id) from tpf_images";
$res = $pdo->query($qry);
the result of which is just one number. What is the quickest, simplest way
to echo that number out with php?
Thanks
No comments:
Post a Comment