<?php
$hostname_localhost ="localhost";
$database_localhost ="skillcourt";
$username_localhost ="skillcourt";
$password_localhost ="skillcourt";
$localhost = mysql_connect($hostname_localhost,$username_localhost,$password_lo$
or
trigger_error(mysql_error(),E_USER_ERROR);

mysql_select_db($database_localhost, $localhost);


$firstname = 'Andy';
$lastName = 'Martinez';
$dateOfBirth = '1991-02-24';
$email = 'mhdaniel24@yahoo.com';
$coachUserName = 'Osvaldo';
$position = 'mid filder';
$userName = 'mhdaniel24';
$password = 'fibonacci1235813';


$query_search = "INSERT INTO player()"
$query_exec = mysql_query($query_search) or die(mysql_error());
$rows = mysql_num_rows($query_exec);
//echo $rows;
 if($rows == 0) { 
 echo "No Such User Found"; 
 }
 else  {
        echo "User Found"; 
}

mysql_close();
?>

