Re: [ADMIN] Ghost insert

1999-12-23 Thread Enrique Rodriguez Lazaro
Jan Kim wrote: > > On Wed, Dec 22, 1999 at 07:51:28PM +0100, Enrique Rodriguez Lazaro wrote: > > Hi. > > > > I am trying to do a interface from a web over my database postgresql > > whit libpq. > > > > I can't do a simple 'insert' from libpq. > > > > I'm doing this: > > > > sprintf(temp_string,"i

Re: [ADMIN] Ghost insert

1999-12-23 Thread Jan Kim
On Wed, Dec 22, 1999 at 07:51:28PM +0100, Enrique Rodriguez Lazaro wrote: > Hi. > > I am trying to do a interface from a web over my database postgresql > whit libpq. > > I can't do a simple 'insert' from libpq. > > I'm doing this: > > sprintf(temp_string,"insert into clientes > values('fff'

Re: [ADMIN] Ghost insert

1999-12-23 Thread Enrique Rodriguez Lazaro
SZALAI Karoly wrote: > > On Wed, Dec 22, 1999 at 07:51:28PM +0100, Enrique Rodriguez Lazaro wrote: > > res1=PQexec(conn,temp_string); > > tuplas=PQresultStatus(res1); > so, i think, you have to close the command. my program do this: > > (the REAL contains the line, what i want to copy to the tab

[ADMIN] Ghost insert

1999-12-22 Thread Enrique Rodriguez Lazaro
Hi. I am trying to do a interface from a web over my database postgresql whit libpq. I can't do a simple 'insert' from libpq. I'm doing this: sprintf(temp_string,"insert into clientes values('fff','prueba','123','123','pepe gotera','jj','jjj')"); res1=PQexec(conn,temp_string); tu