keepit-php/ajax/getTitleForID.php

13 lines
289 B
PHP
Raw Permalink Normal View History

2023-01-14 13:40:41 +00:00
<?php
error_reporting(0);
include ("../../auth.inc.php");
$id = $_POST['ID'] or die ("Error: No variable given.");
$query = mysql_query("select * from `keepit_docbank` where id='" . $id . "'") or die ("Error: File not found.");
$row = mysql_fetch_array($query);
echo $row['title'];
2014-11-09 18:30:55 +00:00
?>