php blob to picture in joomla module in 1 Script -
I have pictures in the database and I want to read it and want to display it as a picture. Although I get strangely long work as a result.
My code:
& lt ;? Php / ** * @ version 1.0 $ * @ package helowold * @copyright (c) 2010 BlaBlbb * @license http://www.gnu.org/copyleft/gpl.html GNU / GPL * / ** ** This file is a The original file is included from * / defined ('_VALID_MOS') or die ('Direct access to this place is not allowed'.); // Gather the query $ query = 'SELECT * from artikel'; $ Database- & gt; SetQuery ($ query); If (! $ Database-> Query ()) {echo "
Comments
Post a Comment