PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hello everybody,
My task is to make some changes to a certain webpage and they gave me access to their site ftp. I downloaded the necessary files and looking at the code:
Basically, I researched a little (I am new to web programming) and found out that this is a dynamic drop down list. All the tutorials showed explicit data that would go into the drop down list. However, in the code above, the variable category_list is nowhere to be found in that file. What is going on? How is it accessing the data?
markusn00b wrote:category_list.name isn't a variable.. it's just an option value..
Or atleast, that's how it looks.
Then shouldn't the drop down menu say "category_list.name"? But if you go to the site,
the drop down menu actually has around 5~6 values. I am guessing it is getting the values from the database but I cannot even find a resembling code of accessing a DB.