$title="FICS - News";
include("./head.inc");
?>
include("dbfuncs.php3");
#print_r($HTTP_GET_VARS);
if ($con = mysql_connect("localhost","scholl","tHFA3DGHyyx2zzNK")):
if (isset($id)) {
echo "News $id
";
$cmd = "select content from news where id=$id";
if ($result = mysql_db_query("scholl_2",$cmd,$con)) {
$row = mysql_fetch_array($result);
echo "
".htmlspecialchars($row[0]).""; echo "
".mysql_field_name($result, $i)."\n"; $oldrow[$i]=0; $i++; } echo "\n"; echo " | |
".$row[0]."\n"; $i = 1; while ($i < $cntc) { echo " | ".$row[$i]."\n"; $i++; } echo " |