Re: About Commit..
| From: | Chris Lee | Date: | Wed, 23 May 2001 20:26:06 +0000 |
| Subject: | Re: About Commit.. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-54114@lists.php.net to get a copy of this message | ||
mysql does support transactions if used with berkely db. php does not
support mysql transactions. in any sort of functions sence, you can try
passing the commands to mysql with the mysql_db_query() command, but do not
if this will work. if your looking for a completely new database, try
postgres, its very nice, more feature rich and comparable to speed to mysql.
--
Chris Lee
lee@mediawaveonline.com
"Jon Haworth" <jhaworth@witanjardine.co.uk> wrote in message
news:67DF9B67CEFAD4119E4200D0B720FA3F53FA58@BOOTROS...
> I thought MySQL already supported transactions, but only for Berkeley
table
> types...
>
> http://www.mysql.com/doc/C/O/COMMIT.html
>
> Cheers
> Jon
>
>
> -----Original Message-----
> From: George E. Papadakis [mailto:georgep@phaistosnetworks.gr]
> Sent: 23 May 2001 15:17
> To: Hassan Arteaga; Php (E-mail)
> Subject: Re: [PHP] About Commit..
>
>
> Use Oracle if you want transactions. Yet, it's going to be slow.
> Mysql is said to support transactions soon.
>
> ----- Original Message -----
> From: "Hassan Arteaga" <hassan.arteaga@fundycs.com>
> To: "Php (E-mail)" <php-general@lists.php.net>
> Sent: Wednesday, May 23, 2001 4:55 PM
> Subject: [PHP] About Commit..
>
>
> > Hi all!!
> >
> > I wants to implements transacctions with this code...What can I do ?
> >
> >
> > $Conn=mysql_connect("myserver","myroot","mypass");
> > $Query_ID1=mysql_db_query ("App", "update FamiliPic set pic_code=4 ",
> > $Conn); //only example
> > $Query_ID2=mysql_db_query ("App", "update DesFam set pic_code=4 ",
$Conn);
> > //only example
> > ...other code ....
> >
> > Thanks !!!
>
>
> **********************************************************************
> 'The information included in this Email is of a confidential nature and is
> intended only for the addressee. If you are not the intended addressee,
> any disclosure, copying or distribution by you is prohibited and may be
> unlawful. Disclosure to any party other than the addressee, whether
> inadvertent or otherwise is not intended to waive privilege or
confidentiality'
>
> **********************************************************************
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>