Jump to content

Get BLOB from database


papaface

Recommended Posts

Hello,
How can I show an image I have uploaded into a BLOB field in a database on a page?
My code so far is:
[code]<?php
$grab = mysql_query("select link,comment,clicks,image from videos");

(list($link,$comment,$clicks,$image) = mysql_fetch_array($grab));

?>[/code]
$image is the image from the BLOB field.

Any help would be appreciated.

regards
Link to comment
https://forums.phpfreaks.com/topic/33519-get-blob-from-database/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.