My "MYSQL" is not working..i'm new in PHP help me

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Zagham
Forum Newbie
Posts: 4
Joined: Sun Apr 10, 2005 4:53 am
Location: Pakistan
Contact:

My "MYSQL" is not working..i'm new in PHP help me

Post by Zagham »

hi i'm using php5 and mysql4
i want to connect with mysql database but there is an error msg..plz help me... :(

here is the "ERROR MESSAGE":

"Fatal error: Call to undefined function mysql_connect() in F:\My Web Sites\php_test\mysql\connect.php on line 7"
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

stop multiposting....
Phoenixheart
Forum Contributor
Posts: 123
Joined: Tue Nov 16, 2004 7:46 am
Contact:

Post by Phoenixheart »

mysql functions are not default in PHP 5x anymore. Now you have to make some changes in configurating PHP in order to call mysql_connect() or something similar.
This problem is solved in http://www.php.net/manual/en/ref.mysql.php

Jcart | Fixed url
Zagham
Forum Newbie
Posts: 4
Joined: Sun Apr 10, 2005 4:53 am
Location: Pakistan
Contact:

Post by Zagham »

ok sorry...i'll not post multy msgs

thanks PHOENIXHEART

but there is an error on that page :

The manual page you are looking for (http://www.php.net/manual/en/ref.mysql.php.) is not available on this server right now. Please check back later, or if the problem persist, contact the webmasters.
User avatar
pleigh
Forum Contributor
Posts: 445
Joined: Wed Jan 19, 2005 4:26 am

Post by pleigh »

omit the last period(.)
-->(http://www.php.net/manual/en/ref.mysql.php)
Zagham
Forum Newbie
Posts: 4
Joined: Sun Apr 10, 2005 4:53 am
Location: Pakistan
Contact:

Zagham

Post by Zagham »

thanks Friends...
Post Reply