If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
when you select the account from the table, you can use a CASE expression to return something if the balance is < 100, and something else if the balance is >= 100
however, if you want to do something, then this will have to be done with php
Thanks r937
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?