Invalid username and/or password. Please try again.
/* Database connection information */
// $gaSql['user'] = "capturecity";
// $gaSql['password'] = "KQ@123";
// $gaSql['db'] = "capturec_capturecityInvoice_db";
// $gaSql['server'] = "localhost";
// /*
// * MySQL connection
// */
// if ( ! $gaSql['link'] = mysql_pconnect( $gaSql['server'], $gaSql['user'], $gaSql['password'] ) )
// {
// fatal_error( 'Could not open connection to server' );
// }
// if ( ! mysql_select_db( $gaSql['db'], $gaSql['link'] ) )
// {
// fatal_error( 'Could not select database ' );
// }
$user= "smarshte_smarshd";
$password="KQ@123";
$db= "smarshte_invoice";
$server= "localhost";
/*
* MySQL connection
*/
$con=mysqli_connect($server,$user,$password,$db);
if(!$con)
{ // creation of the connection object failed
die("connection object not created: ".mysqli_error($con));
}
if (mysqli_connect_errno())
{ // creation of the connection object has some other error
die("Connect failed: ".mysqli_connect_errno()." : ". mysqli_connect_error());
}