Page 1 of 1

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

Posted: Sun Apr 10, 2005 5:22 am
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"

Posted: Sun Apr 10, 2005 5:42 am
by timvw
stop multiposting....

Posted: Mon Apr 11, 2005 4:36 am
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

Posted: Mon Apr 11, 2005 5:09 am
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.

Posted: Mon Apr 11, 2005 6:25 am
by pleigh
omit the last period(.)
-->(http://www.php.net/manual/en/ref.mysql.php)

Zagham

Posted: Wed Apr 13, 2005 10:17 am
by Zagham
thanks Friends...