Re: php insert problem

From: "Matteo Beccati" <m(dot)beccati(at)crpsoftware(dot)it>
To: <pgsql-php(at)postgresql(dot)org>
Subject: Re: php insert problem
Date: 2002-05-22 15:46:42
Message-ID: 2780D698C269CB4EB303715BA48B6A10338E@sole.CRP
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-php by date

  From Date Subject
Next Message Chadwick Rolfs 2002-05-22 16:53:01 Re: php insert problem
Previous Message peter 2002-05-22 15:45:28 Re: php insert problem