Hello All, I've been taking a PHP class for the past 7 weeks and are getting a little hard. This is the first time I have ever messed with PHP and i just don't seem to get it. I have the following assignment:
-Name a script solution09.php
-Wtihin the script construct a SELECT statement which will query the "expenses" table for all the purchases made.
-Process the resulting recordset with a while loop
which will create a separate line for each expense.
-On each line display the category, date, and amount of expenses.
-Create an HTML form , provide the visitor with an input box so they may use it to enter an expenses ategory (THIS IS DONE)
-Modify the schript so that it retrieves the value entered by the visitor
-Modify the SELECT statement created within the script so thatit includes a WHERE clause which will test to make sure that the category column is equal to the valueentered by the visitor.
Now, I think I got the script pretty much done EXCEPT for hte last two steps. I don't understand what im supposed to do or where Im supporsed to start. Any help is greatly appreciated