HELP! Populating a HTML Select from PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Hagar
Forum Newbie
Posts: 18
Joined: Mon May 20, 2002 3:28 am
Location: Johannesburg, South Africa

HELP! Populating a HTML Select from PHP

Post by Hagar »

I'm looking for some code to populate a <SELECT><OPTION> from PHP
User avatar
scorphus
Forum Regular
Posts: 589
Joined: Fri May 09, 2003 11:53 pm
Location: Belo Horizonte, Brazil
Contact:

Post by scorphus »

Hi! Take a look at this code snippet: PHP/HTML: Print <select><options></select>. I hope it helps!

-- Scorphus
Hagar
Forum Newbie
Posts: 18
Joined: Mon May 20, 2002 3:28 am
Location: Johannesburg, South Africa

THANX I try it

Post by Hagar »

Thnak you I'll try it :lol:
User avatar
scorphus
Forum Regular
Posts: 589
Joined: Fri May 09, 2003 11:53 pm
Location: Belo Horizonte, Brazil
Contact:

Post by scorphus »

The tag isn't working and the code seems a bit messy, you can click 'quote' button on the right side of the post (or click here) to get the indented code.

-- Scorphus
Post Reply