Discussion groups

\n"); echo("
\n $ERRMSG \n
\n

\n"); exit(0); } if (msqlSelectDB($sock, "leptospira")<0) { echo("

\n"); echo("
\n $ERRMSG \n
\n

\n"); exit(0); } if (msqlQuery($sock, "SELECT * FROM group ORDER BY gname")<0) { echo("

\n"); echo("
\n WARNING: $ERRMSG \n
\n

\n"); exit(0); } $fd=msqlStoreResult(); $grupa=msqlFetchRow($fd); if (#$grupa==0) { echo("

\n"); echo("
\n WARNING: Database is empty no group definition \n
\n

\n"); exit(0); } >

| Please, select desired subgroup:
| 0) { $nn=$nn + 1; if ($nn>1) { echo("
\n\n
"); } echo("
\n$grupa[1] - $grupa[2]\n
\n"); echo("
\n"); echo(" | \n"); echo(" | \n"); echo(" | \n
\n"); if (msqlQuery($sock, "SELECT * FROM subgroup WHERE gid=$grupa[0] ORDER BY sgname")<0) { echo("

\n"); echo("
\n WARNING: $ERRMSG \n
\n

\n"); exit(0); } $sd=msqlStoreResult(); $sgrupa=msqlFetchRow($sd); while(#$sgrupa>0) { echo("
\n\n"); echo(" | $sgrupa[2]\n"); echo(" | $sgrupa[3]\n"); echo("\n | \n
\n
\n"); echo("\n
\n"); $sgrupa=msqlFetchRow($sd); } msqlFreeResult($sd); $grupa=msqlFetchRow($fd); } msqlFreeResult($fd); msqlClose($sock); >