ID:               41791
 Updated by:       [EMAIL PROTECTED]
 Reported By:      malathi dot velayudhan at gmail dot com
-Status:           Open
+Status:           Feedback
-Bug Type:         *Configuration Issues
+Bug Type:         Unknown/Other Function
 Operating System: Windows XP
 PHP Version:      5.2.3
 New Comment:

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.





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

[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