$document = new HTMLDocument();
$div = $document->addDiv();
$selected = 2;
$select = $div->addCombo("distro",$selected);
$i = 0;
foreach($distro_list as $distro) {
$i++;
$select->addEntry($i,$distro);
}
$document->output();
Refactorings
No refactoring yet !
Tj Holowaychuk
August 12, 2009, August 12, 2009 14:26, permalink
Stop posting separate records lol you can just post them on the same page as your original.... I personally would not even use the DOM api for something this simple, plus it just sucks
johneeasthanacyuood
November 18, 2009, November 18, 2009 02:10, permalink
Thats cool. I agree, that was a good post!Dude a friend of mine get a Black MacBook Air. infact some of my freinds told me that they were able to get Free Laptops. Its not a scam, yes we can win Free notebook computers.
there are lot of brands of Free notebook computers and Free Laptops.
you can get <a href=http://new-exclusive-offers.com/Free-Laptop/>Free Laptops</a><b></b>
so my suggestion check this out you may <a href=http://new-exclusive-offers.com/Free-Laptop/>Get best Free Laptops.</a><b></b>
RugenickEi
December 22, 2010, December 22, 2010 10:47, permalink
Hi Everybody! I'm from London but am living in Berlin at the moment.
Gotta like this place!
____________________________________
<a href=http://stephetteh.wordpress.com/>Barrater is my life</a>
Now, with home made classes inheriting DOM