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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.