"; echo ""; echo "Last Name"; echo "First Name"; echo "Organization"; echo "City"; echo ""; $row=0; while (mysql_fetch_row($result)) { $nom = @mysql_result($result,$row,0); $nom=addslashes($nom); $nom=ereg_replace("\ "," ",$nom); $nom=ereg_replace("\'"," ",$nom); $prenom = @mysql_result($result,$row,1); $institution=@mysql_result($result,$row,2); $city=@mysql_result($result,$row,3); $country=@mysql_result($result,$row,4); echo ""; echo "$nom"; echo " $prenom $institution $city ($country) "; $row += 1 ; } echo ""; echo "
".$row." participants
"; @mysql_free_result($result); @mysql_close($res) ; } echo ' MAMCDP 2009 - Registration
  MAMCDP 2009 Workshop    
 
Homepage Participants Registration Schedule Venue Proceedings Contact us 
   
'; include("accessdb.php"); $adr=getenv("REMOTE_ADDR") ; $Table="participants"; $sql="SELECT LastName,FirstName,Organization,City,Country FROM ".$Table." ORDER BY LastName"; if ($res =mysql_query($sql)) { tab_stage4($res,$pass,$categ,$sel); } else { echo mysql_error(); exit; }