使用PHP从SQL数据库检索图像不起作用

使用PHP从SQL数据库检索图像不起作用,php,sql,database,web,phpmyadmin,Php,Sql,Database,Web,Phpmyadmin,images列名为Spec_Photo,类型为BLOB,我使用phpMyAdmin中的insert选项卡上传了一个图像,只是为了在php代码中测试检索它。但它不起作用 这是我的密码: Print " <img STYLE='border: thin solid grey;left:00px;top:00px;'src='".$info['Spec_Photo']."' alt='idimage' width='110' height='110'> " $info['Spec_Ph

images列名为Spec_Photo,类型为BLOB,我使用phpMyAdmin中的insert选项卡上传了一个图像,只是为了在php代码中测试检索它。但它不起作用 这是我的密码:

Print "  <img STYLE='border: thin solid grey;left:00px;top:00px;'src='".$info['Spec_Photo']."' alt='idimage' width='110' height='110'> "

$info['Spec_Photo']必须是在base64中遇到的URL或图像。抱歉,您能解释一下吗?如果数据库中的图像刚刚上载,我应该怎么做才能检索它?阅读此文章我需要创建图像表吗?我不能只使用一个图像变量吗?