Phase ".$id."

"); msql_connect("tecfa.unige.ch"); $table = "phase_".$id; $result = msql("studio","SELECT id, authors, thumb_url FROM ". $table. " ORDER BY authors"); $i = 0; while ($i < msql_numrows($result)) { echo "\n"; $i++; } msql_close() ?>
\n"; echo "

Object " . msql_result($result,$i,"id") . "
by "; $authors_id = explode(":",msql_result($result,$i,"authors")); for ($j=0 ; $j < count($authors_id) ; $j++) { $author = msql("studio","SELECT username FROM auth WHERE id=". intval($authors_id[$j])); echo msql_result($author,0,"username").", "; } echo "

\n"; echo "\n"; echo "
"; echo ""; echo ""; echo ""; echo ""; } else { echo "

Hint: Login to
add objects

"; } ?>