I am having trouble with a small PHP program. I have to load item and amount data from table cells into an array, and then be able to sort and reverse sort the items in the cells. I also have to track the errors when non-numeric data is entered a s an amount, and total the numeric amounts (These parts I think I have coded correctly.).
I am having trouble with the array part. I don't think item values are being loaded into the array. I debugged it as much as I could. My code is here-- http://pastie.org/1084621 .
I am completely new to this, having only done little PHP/JavaScript programs like this for some classes in the last few months. Any help would be greatly appreciated.