Hi, It seems you forgot closing the php function arguments with ')': $result = pg_exec ($database, "INSERT into employees (emp_name, emp_email) VALUES ('$emp_name','$emp_email')"); This should work Regards -- Matteo Beccati http://www.phpadsnew.com http://phppgads.sourceforge.net