ID:               41791
 User updated by:  malathi dot velayudhan at gmail dot com
 Reported By:      malathi dot velayudhan at gmail dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Unknown/Other Function
 Operating System: Windows XP
 PHP Version:      5.2.3
 New Comment:

PHP & MySQL were doing good independently, but I was unable to run the
php codes which connects with MySQL. Got a blank page.
I would like to know whether there will be any error in configuration.
I have provided the extension_dir path & uncommented the mysql.dll &
mysqli.dll extensions in the php.ini file & moved its copy to Windows
folder. I also copied the libmysql.dll & php5ts.dll to the system32
folder.


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

[2007-06-25 17:46:17] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.




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

[2007-06-24 18:14:12] malathi dot velayudhan at gmail dot com

Description:
------------
Hello,
  I'am unable to connect the MySQL & PHP. I get a blank page on
executing the code. Will there be any problem in php.ini configuration?
Plz help me to fix it up.

Reproduce code:
---------------
<?php
$connect = mysql_connect("localhost", "root", "mmm") or 
     die ("Hey loser, check your server connection.");

$create = mysql_query("CREATE DATABASE IF NOT EXISTS moviesite")
  or die(mysql_error());

if ($create)
{echo "database created ";
}
?>


Expected result:
----------------
Should either display "database created" or any error statement.

Actual result:
--------------
I get a blank page.


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


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

Reply via email to