Hi,
I have BLOB field in MySql table with text and image inside, is there any way to extract out only text or only images?
$query = "SELECT id, date, blob, FROM table ORDER BY id DESC ";
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
echo
"<div class=all>
"<ul class=id>{$row['id']}</ul>".
"<ul class=date>{$row['date']}</ul>" .
"<ul class=blob_image><IMAGE>{$row['blob']}</IMAGE></ul>".
"<ul class=blob_text><TEXT>{$row['blob']}</TEXT></ul>
</div>";
}
mysql_free_result($result);
Thank you