molily: Datenbankabfrage

Beitrag lesen

Hallo, Olaf,

Warning: Supplied argument is not a valid MySQL result resource in /home/www/web293/html/gb/auslesen.php on line 5

<?php
$dblink = mysql_connect("localhost","web293","xxxxxxx");
mysql_select_db("user_web293_1",$dblink);
$inhalt = mysql_query("select * fom gb");

^^^^^
                                 Das sollte vermutlich FROM heißen, es fehlt ein »r«.

$inhalt2 = mysql_fetch_array($inhalt);
$inhalt3 = $inhalt2["icq"];
echo $inhalt3;
?>

Grüße,
Mathias