$img - $time - $size Tags: ";
$tags = explode(" ", $tags);
foreach($tags as $tag){
echo "$tag "; // For future use - catagorize by tag
}
echo "
";
}
$result->free();
}
}
function tag(){
if(!empty($_GET['tag'])){ // Show list of pictures according to one tag - maybe multiple tags in the future
echo "
";
}
$result->free();
}
}
function search(){
if(!empty($_GET['search'])){ // Show list of pictures according to search term
$search = sanitize($_GET['search']);
$search = explode(" ", $search);
echo "
Pictures found using search terms: ";
foreach ($search as $searches){
echo $searches." ";
}
echo ":