Back to Home

Participants and proposed presentations

loadXML ("$strItems"); // read the contents into an array $arrItems = array (); $xmlListItems = $xmlDoc->getElementsByTagName ("item"); for ($i = 0; $i < $xmlListItems->length; $i++) { $xmlItem = $xmlListItems->item ($i); $xmlChildren = $xmlItem->childNodes; // read the values into an array $arrItem = array (); for ($j = 0; $j < $xmlChildren->length; $j++) { $xmlValue = $xmlChildren->item ($j); $arrItem[$xmlValue->nodeName] = utf8_decode ($xmlValue->nodeValue); } // add the item to the list $arrItems[] = $arrItem; } // sort the array uasort ($arrItems, create_function ('$item1, $item2', 'return strcasecmp ($item1["familyname"], $item2["familyname"]);')); // generate the table $i = 0; foreach ($arrItems as $arr) { $strColor = $i % 2 == 0 ? "#ffffff" : "#eeeeee"; echo ("\n"); echo (" "); echo (" "); echo (" "); echo (" "); echo (""); $i++; } ?>
Participants Institute Poster/presentation title
" . htmlentities ($arr["firstname"]) . "" . htmlentities ($arr["familyname"]) . "" . htmlentities ($arr["institute"]) . "" . htmlentities ($arr["prestitle"]) . "




Back to Home