我已经将MySQL数据库转换为Postgres。在转换过程中,Postgres中的图片列被创建为bytea。
这段Xojo代码可以在MySQL中运行,但不能在Postgres中运行。
Dim mImage as Picture
mImage = rs.Field("Picture").PictureValue
有什么想法吗?
我正试图显示一个图像以及数据库中的其他信息。
<?php
mysql_connect("localhost","111","222") or die("Could not connect to localhost");
mysql_select_db("movies") or die( "Could not connect to database");
$result = mysql_query(