Teknik is a suite of services with attractive and functional interfaces. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
504 B

<?php
include('../includes/config.php');
$filename = "";
if(isset($_POST) && $logged_in)
{
$id = rawurldecode($_POST['id']);
$tags = rawurldecode($_POST['tags']);
$user_id = $user->id;
$desktop = $db->select('ricehalla', 'id=? AND user_id=?', array($id, $user_id));
if ($desktop)
{
$data = array(
"tags" => $tags
);
$db->update($data, 'ricehalla', 'id=?', array($id));
}
else
{
echo "You can only edit your image.";
}
}
?>