I am using PHP 3.0.18. I am having trouble connecting to my MySQL database.
It is giving the following error message:
Fatal error: Call to unsupported or undefined function mysql_connect() in
/home/httpd/html/list.php on line 2
And here is the code I typed in:
<?php
$link = mysql_connect("localhost", "webusers", "database")
   or die ("Could not connect.");
Print ("Connected successfully.");
mysql_close($link);
?>
I must be missing something. Any suggestions?
--Muhammed
================================================
BRLUG - The Baton Rouge Linux User Group
Visit http://www.brlug.net for more information.
Send email to [EMAIL PROTECTED] to change
your subscription information.
================================================
<!-- body="end" -->
<hr noshade>
<ul>
<li><strong>Next message:</strong> Dustin Puryear: "Re: [brluglist] PHP problem"
<li><strong>Previous message:</strong> [EMAIL PROTECTED]: "Re: [brluglist] 
What's going on?"
<li><strong>Next in thread:</strong> Dustin Puryear: "Re: [brluglist] PHP 
problem"
<li><strong>Reply:</strong> Dustin Puryear: "Re: [brluglist] PHP problem"
<li><strong>Messages sorted by:</strong> 
[ date ]
[ thread ]
[ subject ]
[ author ]
[ attachment ]
</ul>
<hr noshade>

<small>
<em>
This archive was generated by hypermail 2.1.2 
: <em>Thu Sep 06 2001 - 11:10:50 CDT</em>
</em>
</small>
</body>
</html>

Reply via email to