I'm still having some trouble if anyone can help. Heres the code I'm using
//connection to photo data base
$cnx = odbc_connect( 'photo' , ' ', ' ' );
if (!$cnx) { Error_handler( "Error in odbc_connect" , $cnx ); }
$q=mysql_query("SELECT pointer,title,l,w,info FROM milk WHERE ID=$ID",$cnx);
while(odbc_fetch_row($q)) {
$pointer = odbc_result($q,pointer);
echo "<a>$pointer</a>";
}
$pointer is still empty. Any ideas?