Hallo, hab vor einigen Tagen mit PHP und MySQL begonnen und bei einer Webanfrage folgende Fehlermeldung erhalten:
Fatal error: Call to undefined function mysql_connect() in (url zur php-datei im localhost) on line 10
Hier der Code:
<?php $connection = mysql_connect("localhost","root","hallo"); mysql\_select\_db("legumes", $connection);
$result = mysql\_query("select \* from store", $connection);
while($row = mysql\_fetch\_row($result))
{
for($i=0; $i echo $row[$i] . " ";
echo "\n";
}
mysql\_close($connection);
?\>
Wie prüfe ich die Library auf ihre Funktionen und füge neue hinzu?
Danke im Voraus!
LG Magdalena