I have a member database, I wish to make use of PIN code and when member can enter the PIN code, one of the member field value can be added such as:
My PIN : 12345
(1) After login, when my member enter this PIN code (12345)
(2) the PHP scripts would check if it is valid in the text database (each line for one PIN) OR MySQL database
(3) if valid, the PHP would automatically insert a value (example 10) to one of the fields in the member database
(4) if there is currently an existing value (eg 5), then add up this value (10 + 5), and 15 would be the new value.
Any suggestion/hints on how the PHP works?
Thanks,
Kevin
My PIN : 12345
(1) After login, when my member enter this PIN code (12345)
(2) the PHP scripts would check if it is valid in the text database (each line for one PIN) OR MySQL database
(3) if valid, the PHP would automatically insert a value (example 10) to one of the fields in the member database
(4) if there is currently an existing value (eg 5), then add up this value (10 + 5), and 15 would be the new value.
Any suggestion/hints on how the PHP works?
Thanks,
Kevin