Open Means Open Means

   Here goes the simple database connectivity procedure.

   $ref = mysql_connect("localhost","username","password");

if(!$ref)

{

       die("Could not connect to the database",mysql_error());

}

else

{

       //user  operations like selection of databses,insert query,update query,etc....

}

No comments

Login to post a comment

Show
  • Create an account
  • Forgot your username?
  • Forgot your password?
  • About Us
  • Faqs
  • Contact Us
  • Disclaimer
  • Terms & Conditions