F a s d a b
Fast and simple database abstraction
cell

mixed cell(string query)

Performs a query and returns the contents of the first cell in the first result row. If the query fails, it returns FALSE.

<?php
require_once("fasdab.mysql.php");

$db = new Fasdab("localhost""username""password""database");

echo 
$db->cell("SELECT name FROM users WHERE id = 47");
?>