just to get this right:
In my PHP script set up a query to check for the record's existence on the table
If I find it, I do the checking in the PHP script on the balance
Depending on the balance I perform the appropriate action - is that correct.
What do I do if somebody else comes along and updates the balance while I am checking it - or is this beyond ths scope of this thread?