\n");
printf("window.onload = function () { get_progs(\"all\",1,'view'); get_keys(\"all\",\"all\",1,'view'); }\n");
printf("\n");
include("db.php");
printf("This page is to view the DB %s.\n", $db);
printf("For edit, please go here.
\n");
$db_id = mysql_pconnect($host, $user, $pw);
if ($db_id==FALSE)
{
printf("mysql_connect returned the following error: %s\n", mysql_error());
die("");
}
mysql_select_db($db);
printf("
\n"); printf(" | \n"); printf(" |
\n"); //printf("\n"); printf("\n"); printf("\n"); printf(" | |
\n"); printf("pulldown \n", $i, $i); printf("text input \n", $i, $i); printf(" | \n"); } printf("|
\n");
//input field
printf(" Date:\n", $i);
//select for years
printf(" \n", $i);
printf(" \n");
//select for months
printf("\n", $i);
printf(" \n");
//select for days
printf("\n", $i);
printf(" \n");
//select for hours
printf("\n", $i);
printf(" \n");
//select for minutes
printf("\n", $i);
printf(" \n");
//select for seconds
printf("\n");
//buttton to show next timestamp
//printf("\n", $i, $i);
printf("\n", $i, $i);
printf("\n", $i, $i);
printf(" | \n");
if ($i==2 && $rowcount > 0)
mysql_data_seek($result0, 0);
}
printf(" \n");
//pull down menus
printf("|
\n"); printf(" | \n"); printf(" |