<?php /* * * @copyright (c) 2011 animegame.eu * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence * @author hecht */ function db_query($sql) { $qry = mysql_query($sql); if(!$qry) { echo $sql . '<br>'; } return $qry; }