Código PHP:
$db=mysql_select_db("aviso") or die(mysql_error());
$query = mysql_query("select * from datos_generales");
$result = mysql_result($query, 0, 1);
$result1 = mysql_result($query, 0, 0);
echo $result;
echo $result1;
un saludo
gracias