Please specify what you want, and tell us what you have tried. It's kind of difficult to answer a question like this.
However, if you have raw image data stored in a field in MySQL (field type should be blob or longblob, depending on the size.)
<?
// First fetch data from the database
// Replace with correct SQL statement / connection id
$imageData = mysql_result(mysql_query("SELECT data FROM images WHERE id=10", $connectionID), 0, 0);
// Tell the browser what type the contents is (replace with whatever)
header("Content-type: image/jpeg");
// Output the actual image data
print $imageData;
?>