How do I check if an update was succesful?
Lets say I got the following URL: <!-- m --><a class="postlink" href="http://domain.com?partner=12345">http://domain.com?partner=12345</a><!-- m -->
I wish to update a row in a table: update bla bla where partner=$partner
But what if someone alters the url? The update will fail but I will never know. I could connect twice to the database to check if the partner exists, but there must be a easier method to check if the update was succesful.
Michael
Lets say I got the following URL: <!-- m --><a class="postlink" href="http://domain.com?partner=12345">http://domain.com?partner=12345</a><!-- m -->
I wish to update a row in a table: update bla bla where partner=$partner
But what if someone alters the url? The update will fail but I will never know. I could connect twice to the database to check if the partner exists, but there must be a easier method to check if the update was succesful.
Michael