<?php include_once "mysql.php"; $base=new DB(); $res=$base->sql("SELECT * FROM `hello` "); $ress=mysql_fetch_array($res); echo $ress['test']; ?>