hello all im new and im doing a prject and i have got everything thing sorted aprt from this snag, a user has to register with the website for them to log in but it appears my code does not work
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<?php
$Username = $_POST["txtusername"];
$Firstname = $_POST["txtuserfirstname"];
$LastName = $_POST ["txtuserlastname"];
$Password = $_POST ["txtpword"] ;
$adoCon = new COM("ADODB.Connection");
$here = dirname(__FILE__);
echo $here;
$adoCon->Open("Provider=Microsoft.ACE.OLEDB.12.0;
Data Source=D:\\wwwdata\\DSA\\2009-2010\\0db\\Hv001341\\intermedhv00134111.accdb");
//try {
$adoCon->Execute
'INSERT INTO tblusers'
(username, password, userfirstname, userlastname)
VALUES
('$Username', '$Password', '$Firstname', '$LastName')
// );
//catch(Exception $e)
//{
//echo $e;
//echo 'Sorry - There was a problem with adding the data to the database.<br />';
//}
$adoCon->Close();
$adoCon = null;
?>
<body>
</body>
</html>
thanks for any help given