Connecting to MySQL

Submitted by:Jhon Brain

Date added:21 May, 2012

Category:PHP

PHP example for connecting to MySQL

Tags: connecting to mysql

Code Snippet:

<?php  
include 'connect.php';
mysql_connect($host,$username,$password);
mysql_select_db('database');
?>
 
 

Comments