I have just read this [very nice] small tutorial about MYSQL error handling.
I am new to DB management, but I was just after something like that PDO he is mentioning over there.
Say I run a db sequential script, but instead of accessing the db straightforward, I’d use that PDO, does that mean that upon an exception being raised will I be able to simply rollback ?
It seems like magic to me, but then again, I am kinda noob, so I’d love to hear what you have to say about PDO.
Thanks !
It was a bit of a vague question, but for a good place to start learning how to do PDO with PHP and MySQL I’d start here with this nettuts article.