[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] PHP+MySQL+Qube3
- Subject: [cobalt-users] PHP+MySQL+Qube3
- From: "Pablo Jejcic" <pablo.jejcic@xxxxxxxxxxxxxxxxxx>
- Date: Tue Dec 16 06:59:01 2003
- Organization: Smartweb
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
List,
I'm trying to use the MySQL server with PHP on my Qube3.
One of my pages have the following:
// Connect to mySQL server, report error if fail
$link = mysql_pconnect("localhost", $dbuser, $dbpass);
if (!$link)
die("Couldn't connect to MySQL server: ".mysql_error());
.....
But when I try to access it, I get the following:
Fatal error: Call to undefined function: mysql_pconnect() in /<the file
above> on line 12 (which is the line copied above)
What I'm missing? I'm sure that is something really stupid than I can't find
in the docs...
Thanks a lot in advance.. I need to have this running for Friday, so is
really urgent for me...
Thanks again.-
Pablo.-
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.551 / Virus Database: 343 - Release Date: 11/12/2003