'; $row=mysql_fetch_array($result); echo '
'; $hello5=$row['id']; $sql6="SELECT * FROM press_image WHERE id='$hello5'"; $result6=mysql_query($sql6); $num_results6=mysql_num_rows($result6); if($num_results6 >0) { $row6=mysql_fetch_array($result6); echo ''; echo $row['date']; echo ', '; echo $row['place']; echo '
'; echo $row['press']; echo ' '; echo'
'; echo '

'; } else{ echo $row['date']; echo ', '; echo $row['place']; echo '
'; echo $row['press']; echo''; echo '

'; } } ?>