我在我的数据库中查询用户的youtube用户名。如果为Null,则需要显示"Missing Username“。我不知道如何判断结果是否为空。comprofiler WHERE id=$userid";
$youtubeusername=$db->loadresult() or die(mysql_error
我在Oracle数据库中有一个名为'id‘的字段列,'id’的值可以是null或2-空格(即“")字符串。该字段值由第三方应用程序(Serena Business Manager)映射。我应该编写一个javascript来判断字段是空的还是有两个空格的。我通过javascript语句进行了尝试:{}
这将允许那些'id's在数据库中传递一个空值。下面
我想先做个判断,如果图像值已经在数据库中,插入一个空值。has already in the database, so insert an empty value for just image fieldtitle5,image3 title | imagetitle2,image2 title4下面是我的代码,但它仍然将重复值插入到数据库中。$image."