Paint by numbers
Gallery
if (isset($_GET["id"])){
$query = "SELECT * FROM paintbynumbers WHERE id='" . $_GET["id"] . "'";
dbconnect();
$result = mysql_query($query);
$row = mysql_fetch_array($result, MYSQL_ASSOC);
echo " ";
echo " | title: " . $row["title"] . " creator: " . $row["name"] . " location: " . $row["location"]
. " size: " . $row["xsize"] . " * " . $row["ysize"] . " ";
?>
| [ back to gallery ] - [ home ] - [ lo_y ]
die(" | ");
}
if (isset($_GET["show"])){
$nrthumbs = $_GET["show"];
}
$nrthumbs = max(10, $nrthumbs);
$query = "SELECT * FROM paintbynumbers ORDER BY id DESC LIMIT " . $nrthumbs;
dbconnect();
$result=mysql_query($query);
while ($row=mysql_fetch_array($result)){
echo " |
 | title: " . $row["title"] . " creator: " . $row["name"] . " location: " . $row["location"]
. " size: " . $row["xsize"] . " * " . $row["ysize"] . " |
";
}
?>
require("showform.php"); ?>
| | [ more pictures... ] - [ home ] - [ lo_y ]
Copyleft lo_y 2005 - No license!
|