November 9th, 2012, 07:53 AM
List Input + Calculation Help
I'm looking more for a starting point here. I'd like to build a web application using PHP. The application will accept user input, a field for quantity, description, and two different inputs for "prices"
The user will be able to "add a new row" to this list by clicking a "Add New Row" link or button of some sort, and then at the end hit "Calculate" and a calculation of the totals in the "price" inputs will be calculated.
Users will also be able to save their list, edit/update their list and print the list after it has been computed.
I'm more or less looking for advice, I'm thinking of using CodeIgniter as my framework -- but I'm wondering if anyone has any other suggestions? OR where a good place to start might be?
November 9th, 2012, 08:12 AM
I've never used CodeIgniter, but I have heard good things about it. I would be interested to hear other options of it.
If your application is simple (or even complicated), the following framework will work.
//Add row to database
echo('Display my calculations');
echo('Echo my HTML headers.
Then use the database to display the number of rows.
Then display some links such as the following:
<a href="index.php?task=addRow">Add Row</a>
November 9th, 2012, 08:14 AM
Interesting... thanks! That does help actually.