echo "\n"; echo "
\n"; echo "Nom, Prénom | \n"; echo "Home-Page | \n"; echo "Groupe | \n"; echo "Projet | \n"; echo "Collaborateur/trice(s) | \n"; echo "|||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
".mysql_result($resultUserProjet,$i,'username').", ".mysql_result($resultUserProjet,$i,'prenom')." | "; if ( mysql_result($resultUserProjet,$i,'homepage') != '') { echo "(Home-page)."; } else { echo " | (Home-page). | "; } echo "".mysql_result($resultProjet,0,'projetNom')." | \n"; } else if ( mysql_result($resultProjet,0,'url') != '' ) { echo "".mysql_result($resultProjet,0,'projetNom')." | \n"; } else { echo "".mysql_result($resultProjet,0,'projetNom')." | \n"; } if ($collab1 != '') { $queryUser1 = "SELECT DISTINCT * FROM users WHERE userId=$collab1"; $resultUser1 = mysql_query($queryUser1); echo "".mysql_result($resultUser1,0,'username')." ".mysql_result($resultUser1,0,'prenom')."\n";
if ($collab2 != '') {
$queryUser2 = "SELECT DISTINCT * FROM users WHERE userId=$collab2";
$resultUser2 = mysql_query($queryUser2);
echo " ".mysql_result($resultUser2,0,'username')." ".mysql_result($resultUser2,0,'prenom')." | \n";
} else {
echo "\n";
}
} else {
echo "\n"; } } else { echo " | ".mysql_result($resultUserProjet,$i,'username').", ".mysql_result($resultUserProjet,$i,'prenom')." | "; if ( mysql_result($resultUserProjet,$i,'homepage') != '') { echo "(Home-page)."; } else { echo " | (Home-page). | "; } echo "".mysql_result($resultProjet,0,'projetNom')." | \n"; } else if ( mysql_result($resultProjet,0,'url') != '' ) { echo "".mysql_result($resultProjet,0,'projetNom')." | \n"; } else { echo "".mysql_result($resultProjet,0,'projetNom')." | \n"; } if ($collab1 != '') { $queryUser1 = "SELECT DISTINCT * FROM users WHERE userId=$collab1"; $resultUser1 = mysql_query($queryUser1); echo "".mysql_result($resultUser1,0,'username')." ".mysql_result($resultUser1,0,'prenom')."\n";
if ($collab2 != '') {
$queryUser2 = "SELECT DISTINCT * FROM users WHERE userId=$collab2";
$resultUser2 = mysql_query($queryUser2);
echo " ".mysql_result($resultUser2,0,'username')." ".mysql_result($resultUser2,0,'prenom')." | \n";
} else {
echo "\n";
}
} else {
echo "\n"; } } echo " |
Pour accéder au formulaire d'inscription des projets...
Pour accéder à la liste des projets avec leur description...