i have a table called 'homework' and inside i got"id,teacher,period,course_id"
i want to output the the teacher and course id as an option box so it will be like:
BOXHERE
teacher,course_id
teacher,course_id
teacher,course_id
teacher,course_id
Will it be able to be done something liek this?
i first start the option box(i will look into that)
Code: Select all
foreach($thing as $option) {
echo'<option>$option</option>';
}