Select :
$higashi_db = new db($hostname,$databaseName,$username,$password);
//open connection
$q1 = new query('select * from users','S',$higashi_db->get_connection());
//create new query
$r = $q1->get_row();
//get the result row
echo $r['user_id'].' '.$r['money'];
//print the result
$higashi_db->close();
//close db connection
Saturday, June 6, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment