Re: pg_exec question.

From: Date: Fri, 24 Aug 2001 12:48:16 +0000
Subject: Re: pg_exec question.
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-11787@lists.php.net to get a copy of this message
i don't thing <99% sure> that it can be done. you can decalre a transaction and then [begin <statement 1><statement 2><statement n> commit] <tnelson@mail.unomaha.edu> wrote in message news:OFA8F321F9.0F690647-ON86256AB1.0077519E@unomaha.edu... > Hello, > > I'm new with PHP and PostgreSQL, and can't find a solution to the > following problem. I'd like to combine multiple SQL commands into one > pg_exec call. For example, I've tried "delete ...; insert ...; insert > ..;" with the appropriate values in the "...", but I'm receiving this > error: > > Warning: Supplied argument is not a valid PostgreSQL link resource > > Does anyone have any suggestions for this problem? Thanks in advance. > >

« previous php.db (#11787) next »