Re: about transactions in Postgresql

From: Date: Fri, 09 May 2003 16:58:33 +0000
Subject: Re: about transactions in Postgresql
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-27624@lists.php.net to get a copy of this message
Lol! Ok Conni! This is the best solution for me! Now my post seems a little ridiculous... lol Thanks a lot! Rapha "Cornelia Boenigk" <c@cornelia-boenigk.de> wrote in message news:009301c31648$e409cdd0$65479150@zwerg2000... > Hi Raphael > > Why don't you simply use > > $query = "insert into member values('Jim Jones', '21', > 'passw', > 'jim@bfr.com');"; > > if ( mail(jim@bfr.com, "Welcome", "", "")) > { > pg_query($connId, $query); > } > else > { > echo 'Mail could'nt be delivered.'; > } > > If the mail() function workes properly then the record will be > inserted. If mail() failed a message will be issued. > > Regards > Conni >

« previous php.db (#27624) next »