I am using this code, I want to just those field there is no empty if any fields is empty then not open the image from my sql server,
$Query = "SELECT * FROM movie_post WHERE id=$id AND NOT IS NULL(linkfrom2,m_link2,linkfrom3,m_link3,linkfrom4,m_link4,linkfrom5,m_link5)";