I am very new to both PHP and mySQL. Any help would be greatly
appreciated.
While running this code I get following fatal error.
PHP is installed and running correctly on the server.
mySQL I THINK is running properly. I created a table and this code is from
a tutorial I am trying to run through for discussion threads. No matter
what I make the connection as (admin or nobody) I still get the same
result, which leads me to believe that there is something wrong with the
coding. I am too new to this to debug. Line 5 of the dbconnect.php file
is where the script stops. again any help would be greatly appreciated.
<?
LINE 5 >>> if (!($mylink = mysql_connect
("localhost","administrator","")))
{
print "<h3>could not connect to database</h3>\n";
exit;
}
mysql_select_db("mytest");
?>
RESULT>>> while trying to run script.
Fatal error: Maximum execution time of 60 seconds exceeded in dbconnect.php
on line 5
Thank You
<><><><><><><><><><><><><><><><>
Daniel Negr�n
Lotus Notes Administrator / Developer
KB Electronics, Inc.
954.346.4900x122
http://www.kbelectronics.com
<><><><><><><><><><><><><><><><>
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php