select and sql creation: 2010-02-02category: php create a select form filled from sql with blog category entries This will list a sql table, column: category, in a select form as options. For example say you have a blog with post categories like: music, food, books, movies... Theses will be retrieved from the database and will be displayed inside a select form in the option tag. The form will also submit immediately upon change. After the form submit, whats left to do is check for variable $bleh and create a sql query that will only display result from selected category: [Back] [Edit] | ||||||||||||||