Jump to content

mysql transaction in php, how?


Betty_S

Recommended Posts

This is a big topic. The basic mysql functions are listed and described here:
http://www.php.net/manual/en/ref.mysql.php

Although, judging from your question, you may want to consider using PEAR:DB or PEAR:MDB2...
PEAR:DB: http://pear.php.net/package/DB
PEAR:MDB2: http://pear.php.net/package/MDB2
As they include data processing functions that make sure that bad things (SQL injection attacks, etc.) don't end up compromising your server, as well as a more accessible error handler. With the vanilla mysql functions, you have to worry about that yourself.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.