drop-down menus and mysql
Posted: Mon Jan 20, 2003 2:40 pm
Hi!
I’d be grateful, if you could help me solving a problem with php and mysql.
I have got a mysql database. There is a table in this database, called “categories”. I want to create a html (or php)-Page with a drop-down menu. And in this menu, I want to insert the values in the table categories. The user can choose a category, and is directed to another html-Page, depending on his choice.
Could you help me getting the categories from the mysql-table into the drop-down menu on my php-Page?
Thanks for your help.
Best regards,
Lisa W.
I’d be grateful, if you could help me solving a problem with php and mysql.
I have got a mysql database. There is a table in this database, called “categories”. I want to create a html (or php)-Page with a drop-down menu. And in this menu, I want to insert the values in the table categories. The user can choose a category, and is directed to another html-Page, depending on his choice.
Could you help me getting the categories from the mysql-table into the drop-down menu on my php-Page?
Thanks for your help.
Best regards,
Lisa W.