PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I just want to clarify that this is what you want done. You have a list of invoices that look something like this:
1. Amount | Activity | Name | Invoice Number
2. Amount | Activity | Name | Invoice Number
3. Amount | Activity | Name | Invoice Number
When someone clicks on, let's say the invoice number on the second line, you want that invoices details to be shown like this:
1. Amount | Activity | Name | Invoice Number
2. Amount | Activity | Name | Invoice Number
Details of your invoice
appear here without the page reloading.
3. Amount | Activity | Name | Invoice Number
If this is the case then I think you will need to use javascript (AJAX) to grab the invoice's information and insert it into the page (DOM). Please advise if this is what you are trying to do.
It doesn't need to be that fancy. As the page exist, dozens of invoices are listed and at the top the user can enter the invoice number they would like to view in detail and hit submit. If they enter 104, then they will be sent to http://localhost/invoice_output.php?invoice_number=104
I would like them to be able to click on "104" in the record and be sent to the same page as mentioned above.
I hope that clarifies the situation and keeps me from having to use java.