Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
<?php
date_default_timezone_set("Asia/Calcutta");
class db
{
public function db_connect()
{
$hostname="localhost";
$username="einnoven_m_ticke";
$password="asdf7020163";
$con=mysql_connect($hostname,$username,$password) or die("SQL ERROR1 : ".mysql_error());
return $con;
}
public function db_select()
{
$database="einnoven_m_ticket";
$con1=mysql_select_db($database) or die("SQL ERROR2 : ".mysql_error());
return $con1;
}
public function db_close()
{
mysql_close();
}
}
?>