query($sql);
$row2 = $db_object2->fetch_array();
if($row2["PrevID"] == "")
{
?>
|
query($sql);
$row2 = $db_object2->fetch_array();*/
// javascript:history.go(-<*=$histcount*>)
?>
Notice: Undefined variable: row in /var/www/demonstrate.berkeley.edu/html/photo.php on line 160
:
Notice: Undefined variable: row in /var/www/demonstrate.berkeley.edu/html/photo.php on line 160
|
" . $row["ImageID"] . " AND Screened = 1 AND UserID = '" . $_SESSION['Author'] . "';";
} else {
$sql = "SELECT MIN(ImageID) AS NextID FROM imagelog WHERE ImageID > " . $row["ImageID"] . " AND Screened = 1;";
}
$db_object2->query($sql);
$row2 = $db_object2->fetch_array();
if($row2["NextID"] == "")
{
?>
|
query($sql);
if($db_object->num_rows())
{
//$db_object2 = new db(); // Open db connection
/*function stars($length)
{
$replace = false;
for(;$length--;)
{
$replace .= "*";
}
return $replace;
}*/
for($rowcount = 0; $row = $db_object->fetch_array(); $rowcount++)
{
$year = substr($row['TimeInsert'], 0, 4);
$month = substr($row['TimeInsert'], 4, 2);
$day = substr($row['TimeInsert'], 6, 2);
$hour = substr($row['TimeInsert'], 8, 2);
$min = substr($row['TimeInsert'], 10, 2);
$sec = substr($row['TimeInsert'], 12, 2);
if($rowcount)
{
echo '';
} else {
echo '';
}
?>
|