nama_sekolah; $gambar = $sk->logo; $alamat = $sk->alamat; $koordinat = $map->maps; if($map->maps=="" or $map->maps==null) { } else { ?> gambar=="" or $map->gambar==null){ } else { ?>