Is there a way to check if INSERT or UPDATE query was done.
Having a problem with a shoppingcart where only sometimes it doesn't update or iunsert the db with the customer and orders infos but I get the email confirmation with the right infos.
All the query are done on the same page at the top and mail() at the bottom.
Any idea.
Thanks
query checking
Moderator: General Moderators
Re: query checking
what DB? some have auditing that you can use to track things like that.the wrote:Is there a way to check if INSERT or UPDATE query was done.
Having a problem with a shoppingcart where only sometimes it doesn't update or iunsert the db with the customer and orders infos but I get the email confirmation with the right infos.
All the query are done on the same page at the top and mail() at the bottom.
Any idea.
Thanks
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
Try mysql_affected_rows().the wrote:Is there a way to check if INSERT or UPDATE query was done.
Mac