Einzelnen Beitrag anzeigen
Alt 10.01.2006, 18:06   #1
alexA320
Veteran
 
Registriert seit: 25.03.2005
Alter: 34
Beiträge: 429


PHP <--> MySQL Problem

Hallo!

Bin ziemlicher Anfänger in sachen MySQL und stehe vor folgendem, eigendlich eher simplen Problem:

<?php mysql_connect(yxz,zxy,xyz);
mysql_select_db ( database ) ;
$result= mysql_query ("SELECT question FROM questions LIMIT 1") ;
$row = mysql_fetch_array ($result) ;
print $row ;

?>

Ich will, dass er aus der DB eine Frage herrausnimmt und darstellt. Mit obigen script funzt das nicht als Antwort schreibt er nur: array .

Sorry euch mit so einfachen Problemen zu nerven, trotzdem schon mal Danke im Vorraus!


Alex
____________________________________
<--Gruß Alex-->

Cargo motzt nicht, Cargo kotzt nicht!

http://status.ivao.aero/147360.png

alexA320 ist offline   Mit Zitat antworten