Re: php insert problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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



[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux