[英]Check the blob(image) is existing or not using mysql/php
I get the blob data from mysql. 我从mysql获取blob数据。 And how to check the blob data is existing or not using php.
以及如何使用PHP检查Blob数据是否存在。
if (image exists)
{
#Do some operation
}
else
{
#Do some operation
}
Maybe just compare if fetched blob column is not null ? 也许只是比较如果获取的Blob列不为null?
if ( !empty( $row['blob_column'] ) ) {
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.