Tuesday, April 13, 2010

Project Week 11 - PHP MySQL Continued

Well this week is going good now. Two more pages added to the site. The first is the sellers list page. It lists the sellers (in this case a sample list) of sellers and the items they are selling. Its a search by user name via a drop down list box.

http://webdev.ramapo.edu/~pcoleman/PROJECT/select.html

The second page is the search by items list. I want it to be in formatted A-Z, but for now it just goes by the default ID number. The best way to do that might be to establish ID numbers that correspond with item alphabetical order, but doing that manually would be time consuming. Each time a new item is put in the whole list would need to be adjusted.
I thought of adding an XSL file to sort the information, but I'm not sure how that would effect the values of each listed item.
I think the best way would be to populate the dropdown list directly from the XML in the PHP file(in alphabetical order), but I have no idea how to do that yet lol If anyone knows how please teach me, I'm all ears.
This is what the page looks like right now:

http://webdev.ramapo.edu/~pcoleman/PROJECT/itemsearch.html

Well thats all for tonight. Thanks again to David and Mike, chatting with you guys really helped me get this week's assignments done on time. And good luck to everyone still working on this.

No comments:

Post a Comment