4 ms·
I would just add a fetch_scalar() function. It makes some common operations get very readable: $total_users = $db->fetch_scalar("SELECT COUNT(*) FROM users");
by ralmeida 15y ago
I would just add a fetch_scalar() function. It makes some common operations get very readable:
$total_users = $db->fetch_scalar("SELECT COUNT(*) FROM users");