Warning: mysql_connect() [function.mysql-connect]; Access denied for user. 'ODBC@localhost' (Using password:NO) in e:\ip1\babynaturafood.com\www\submit.php on line 16
Can't connect the Database.
<?
if($txtName=="" || $txtSurname=="" || $txtBaby=="" || $gender=="" || $Phone=="" || $CellPhone=="" || $txtEmail=="" || $txtAddress=="" || $txtZipcode=="")
{
print ("Pleasd fill the form<br>");
}
else
{
$link=mysql_connect("localhost","","");
if (!$link)
{
print ("Can't connect the Database.");
}
else
{
mysql_select_db("member",$link);
$sql="insert into personal (txtName,txtSurname,txtBaby,gender,Phone,CellPhone,txtEmail,txtAddress,txtZipcode)
values ('$txtName','$txtSurname','$txtBaby','$gender','$Phone','$CellPhone','$txtEmail','$txtAddress','$txtZipcode')";