Location: PHPKode > scripts > img2MySQL > index.php
<? 
require ("img2mysql.class.php");
// Img2Mysql($mysqluser, $mysqlpassword, $mysqlhost, $mysqldatabase)
$mysql = New Img2Mysql('root','','localhost','img2mysql');

 $content=$mysql->getImageByName("banner2");
header("Content-type: image/jpg");
 echo $content;
?>
Return current item: img2MySQL