You are here: drop down populated by database « PHP Programming Language « IT news, forums, messages
drop down populated by database

Posted by jsd219 on 06/07/07 17:53

Hello, hopefully someone can help me with this: I currently have a php
file that pulls a query from the field "category" from my database.
this file is called category.php. I am trying to populate a drop down
box in another page (called add_subpage.php) from the results of the
category page. the code below is on the add_subpage.php file: (It was
my best guess and does not work)

<select name="category">
<option value="CAT"<?php include 'category.php' ?>></option> </select>

Can anyone tell me how to make this drop down populate from the
category php file?

I really appreciate any help!! Thank you

God bless
jason

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация