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!
I've made a drop-down select form element that gets it's options from a query. The options that are displayed are the names of the applications that have been setup so far in the knowledgebase, and the form's intention is to setup categories. Each category will be associated with a specific application. What I'm trying to figure out is when I setup the insert query for the category the select variable will be set to the app_name, as opposed to the app_id (the P-Key for the application table). The categories table is related to the application table by the app_id. Maybe the answer is more obvious than I can see.