<?

$t=mysql_query("select version() as ve");

echo mysql_error();

$r=mysql_fetch_object($t);

echo $r->ve;

?>

ciao