Posted by jsd219 on 06/07/07 17:35
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]
|