I have this code for selecting fname from the latest record on the user table.
fname
$mysqli = new mysqli(HOST, USER, PASSWORD, DATABASE); $sdt=$mysqli-&g
If you want to execute it without bind, just use query
query
$mysqli = new mysqli(HOST, USER, PASSWORD, DATABASE); $res = $mysqli->query('SELECT fname FROM user ORDER BY id DESC LIMIT 1'); echo current($res->fetch_row());