hi!
please dont hit me if this question is too dumb 😉
i really searched for an answer but i cant find it!
this is my problem:
#SNIP
mysql_connect (localhost, root, password);
mysql_select_db (klowand);
$result = mysql_query ("SELECT * FROM klowand");
if ($row = mysql_fetch_array($result)) {
do {
print $row["text"];
} while($row = mysql_fetch_array($result));
} else {print "Sorry, no records were found!";}
#SNAP
this is a slightly edited code snipped from a tutorial.
it produces an error:
Fatal error: Call to undefined function: mysql_connect() in /home/azmo/public_html/test.php on line 5
i really cant find the error, but im a newbie... could anyone help me please?
(phpinfo does show the --with-mysql stuff in configure... so its setup, isnt it?)
thanks for reading 🙂
clas