RE: MySQL Connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	That error message means you're trying to use a function
("mysql_connect" in this case) that doesn't exist. However, that function is
a part of the standard PHP5 API, so you shouldn't be getting that message.
It'll be easier to help if you post your PHP code, preferably the line on
which the error is being generated, and maybe 5 lines before and 5 lines
after to give us some context to work with.

	Be sure, when posting code to a public forum such as this one, to
remove any username or passwords that might appear in the code.

	- Nebu

-----Original Message-----
From: Anuradika [mailto:anuradika80@xxxxxxxxx] 
Sent: February 11, 2005 7:47 AM
To: php-objects@xxxxxxxxxxxxxxx
Subject:  MySQL Connection




I am very much new to PHP, i have installed the php-5.0.3-installer, 
with phpMyAdmin-2.6.1.
I have also installed the MySQL database and its Control Centre. I 
have created tables and even inserted data manually.

I have tested the basic PHP codes, it works well. But I am having 
problem connecting to MySQL Database. It gives me error :
Fatal error: Call to undefined function mysql_connect()

Please help me out to solve this issue.
Thanking you in advance,
Anu



PHP Data object relational mapping generator - http://www.meta-language.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux