I am newbie in SQL and Excel is anyone can guide me for this?
This is my full script.
<?php
include 'function/functions.php';
$excel = $_POST['files'];
$upload = $_POST['upload'];
$query = mysql_query("INSERT INTO clients (NAME, AGE, SEX, ADDRESS, CONTACT_NUMBER) VALUES ($excel)");
if(isset($upload))
{
$query;
}
?>
<!doctype HTML>
<html>
<head>
</head>
<body>
<form action="" method="POST" />
Upload Excel File<br />
<input type="file" name="files" /><br />
<input type="submit" value="upload" name="upload" />
</form>
</body>
</html>
i'll make simple code to make easy to understand for me,(anyway sorry for my bad english)
my question is, How i can insert each corresponding column in excel in MySQL here's the picture.