Files
adminer/download.inc.php
jakubvrana 9ea31125a0 Mandatory $where in where()
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@440 7c3ca157-0c34-0410-bff1-cbf682f78f5c
2008-08-08 11:56:37 +00:00

4 lines
233 B
PHP

<?php
header("Content-Type: application/octet-stream");
echo $mysql->result($mysql->query("SELECT " . idf_escape($_GET["field"]) . " FROM " . idf_escape($_GET["download"]) . " WHERE " . implode(" AND ", where($_GET)) . " LIMIT 1"));