I have only recently started teaching myself PHP and currently use apache / mysql & php on a fedora box.
I have recently been given the task of learning how to write
a bpay formula to calculate reference numbers for the Australian Bpay system.
this uses a Mod10 based formula to calculate a checksum digit based on the original number and its length.
I wouldn't have a clue where to start here but I can see from looking at it that some sort of array will be required.
This is currently beyond me and am looking for a little help from board members if possible.
Some of you may be in Aus and have already done this or some of you might just be function code guru's.
The bank has supplied me with a spreadsheet with the calculations in it, but this only confused me some more.
I have attached the spreadsheet in the hope that those of you that might be able to offer some assistance could have a look.
The formula used is Mod 10 Version #1
Thanks ppl