".$sql."\n"; $result = db_query($db,$sql); echo "
jobid | username | "; foreach ($keys as $key) { if ( $key!='jobid' && $key!='username' && $key!='start_date' && $key!='end_date' ) { echo "".$key." | "; $col[$ncols]=$key; $ncols++; } } echo "
---|---|---|
".date("Y-m-d H:i:s",$data[$key])." | \n";
}
else
{
echo "".htmlspecialchars($data[$key])." | ";
}
}
echo "