Hi,
I read a value in a column defined as mediumblob.
This value is a HMTL page.
I failed to display it within a browser.
The file is processed like a text file.
If i use UltraEdit, it asks me to convert it into Dos format (because I'm working under windows).
How can i do to display directly the result by modifying the code below :
$query = "SELECT Invoice "; $query .= "FROM nuke_pncommerce_invoices ";
$query .= "WHERE OrderNumber = $orderNumber ";
$result = @($query, $connect);
$errno = @mysql_errno($connect);
$error = @mysql_error($connect);
if ($errno != 0)
{
echo "Operation failed : $errno - $error<br />\n";
}
while (list($invoice) = mysql_fetch_row($result))
{
echo "$invoice";
}
TIA