note 54670 added to function.mysql-connect
| From: | sandesh_doshi at hotmail dot com | Date: | Tue, 12 Jul 2005 12:48:53 +0000 |
| Subject: | note 54670 added to function.mysql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-91799@lists.php.net to get a copy of this message | ||
I have Installed PHP 5.0.4 for Windows and mySQL 4.1 when i make connect to database using php query
below
<?php
$user="root";
$password="password";
$database="database";
$mmconn=mysql_connect("localhost",$user,$password);
?>
It will give error below
Fatal error: Call to undefined function mysql_connect() in G:\cadcam\Web
Designing\Jewelsudarshan.com\httpdocs\temp.php on line 5
any suggest me to resolve this problem
----
Manual Page -- http://www.php.net/manual/en/function.mysql-connect.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+54670
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54670&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54670&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54670&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54670&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54670&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54670&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+54670&report=yes
Search -- http://master.php.net/manage/user-notes.php