Re: php insert problem - Mailing list pgsql-php

From Matteo Beccati
Subject Re: php insert problem
Date
Msg-id 2780D698C269CB4EB303715BA48B6A10338E@sole.CRP
Whole thread Raw
In response to php insert problem  (dan radom <dan@radom.org>)
List pgsql-php
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


pgsql-php by date:

Previous
From:
Date:
Subject: Re: php insert problem
Next
From: Chris Thompson
Date:
Subject: Re: php insert problem