ID:               38383
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mimiller at ncsa dot uiuc dot edu
-Status:           Open
+Status:           Bogus
 Bug Type:         MySQL related
 Operating System: Win XP sp2
 PHP Version:      5.1.4
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




Previous Comments:
------------------------------------------------------------------------

[2006-08-08 16:19:03] mimiller at ncsa dot uiuc dot edu

Description:
------------
running PHP 5.1.4 w/Apache 2.0.55 mysql_connect() is not found.

Reproduce code:
---------------
$host =$_SESSION['dbhost'];
$uname =$_SESSION['dbuser'];
$pw =$_SESSION['dbpw'];

$link=mysql_connect($host,$uname,$pw);
if (!$link) {
   die('Could not connect: ' . mysql_error());
    }


Expected result:
----------------
#   $link is suitable for use in:
$query='Select * from Table1';
$result=mysql_query($query, $link);

Actual result:
--------------
Fatal error: Call to undefined function mysql_connect() in C:\Documents
and Settings\mimiller\My Documents\UIUC\NCSA\Schedule\dblink.php on line
8


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=38383&edit=1

Reply via email to