May 05, 2005

PEZ and PHP

I've spent the past week or so writing a script to search our PEZ database, so it's easier to find what you're looking for. I know. SO MANY people come here looking to see what PEZ dispensers we have. It's such a common occurrence. Well, it was more of a practice, writing the search function, and I had the PEZ database already so I figured that was a good place to start. And once it was completed, I figured I might as well actually put it up on the site. So if you click the "PEZ" link at the top of the page, you will notice that you can now search for specific keywords in the PEZ list, OR you can browse by category. So, for example, if you know Chris's birthday is Monday, May 9th, and you see some Star Wars PEZ at Wal-Mart and wonder if we have them, you can choose "Star Wars" from the drop-down list and check to see if what you saw is already in our list. How nice!


With that in mind, there are a couple things that Chris will work on adding to his list in the near future. One thing is adding images, so if you see the new trucks at the Party Store and want to know if we have them, and you view our Trucks list, and you wonder "Were the trucks I saw R4 trucks, or not? How would someone know this stuff?" you would be able to click on the icon to the right of a certain truck to see a picture of it, and realize that no, the fancy PEZ trucks you saw were NOT the ones we have, and, in fact, you would make Chris's day if you were to buy him some of the fancy new trucks. The other thing on his To Do list is to add a "Wish List" of PEZ he doesn't have that are currently available in stores, so you could just choose to view his Wish List to see the PEZ he's currently lacking. But these things won't happen for a little while longer. But for now you can revel in how cool it is that I wrote code to allow you to do AND and NOT searches for PEZ dispensers. Yes, I have entirely too much free time.

No comments: