Results 1 to 2 of 2
Aug 30, 2010, 04:00 #1
- Join Date
- Aug 2010
- 0 Post(s)
- 0 Thread(s)
Dynamic ajax page loaded by html dropbox
I'm building a page where users can write reviews about music/video/... I would like to build a dynamic page, that shows different options for different categories. This page would be loaded by a html dropbox. I though the Onchange option would work perfect for this.
My website is made with a template system, so my html and php are in seperate files. This should not make a big problem though. I was thinking about making the dropbox send a value to the review.php, and the php would $_GET the category and switch cases for each category. For each case, i would send a true value to the html template. Example:
case '1' :
//and the rest of the cases...
<if:video> code that i want to load if video is selected in the dropbox </if:video>
PS: i hope i'm making any sense, it's kinda hard to explain