Just installed MySQL on mu Linux RedHat 6.0 machine with RPM and made a siple database.
Apache, PHP3, and MySQL were pretty basis installation.
Copied a PHP3 script into an html-page:
<?
msql_connect ("localhost");
$result = msql_list_tables ("guestbook");
$i = 0;
while ($i < msql_numrows ($result)) {
$tb_names[$i] = msql_tablename ($result, $i);
echo $tb_names[$i] . "<BR>";
$i++;
}
?>
executing this page result in the following error:
Fatal error: Call to unsupported or undefined function msql_connect() in /home/httpd/html/toontabellen.php3 on line 10
what's going on?