Jump to content

noob - Help with Small PHP Program (Arrays and Sorting)


aotearoa

Recommended Posts

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.