LonghornPHP 2026

Voting

: eight minus five?
(Example: nine)

The Note You're Voting On

andrea dot galli at acotel dot com
23 years ago
Example: retrieve image from database.

<?php

   $Link_ID = odbc_connect("DSN", "user", "pass"); 
   $Query_ID = odbc_exec($Link_ID, "SELECT picture FROM categories"); 

   // change to ODBC_BINMODE_CONVERT for comparison 

   odbc_binmode($Query_ID, ODBC_BINMODE_RETURN);

   $Images = odbc_result($Query_ID, 1);

   echo $Images;

?>

<< Back to user notes page

To Top