By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,527 Members | 1,256 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,527 IT Pros & Developers. It's quick & easy.

Urgent: Cannot Connect to Database Mysql+PHP

P: n/a
Hi,
I am having a problem connecting to mysql database.
I am using PHP5.0 and mysql 4.1
I am using
mysql_connect("servername","us*ername","password") ;
Everytime I execute the script the server gives me a message :
Call to undefined function on line number:3
Please help me on this.
Regards
Ashutosh

Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Ashutosh wrote:
Hi,
I am having a problem connecting to mysql database.
I am using PHP5.0 and mysql 4.1
I am using
mysql_connect("servername","us*ername","password") ;
Everytime I execute the script the server gives me a message :
Call to undefined function on line number:3
Please help me on this.
Regards
Ashutosh


Did you enable mysql in your php.ini?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.