title: Select two tables when one table is empty or not empty
body: <p>i have stucked to figuring out what's wrong with my query. i select table 'acara' and table 'eventorg', 
  if table 'acara' not found or empty, 
  table 'eventorg' dont want to show up, 
  but if table 'acara' not empty or found, 
  table 'eventorg' and table 'acara' will show up</p>
  
  <p>it is my query</p>
  
  <pre><code>SELECT 
    eventorg.nama as NamaEO,
    eventorg.deskripsi as DeskEO,
    eventorg.logo as LogoEO,
    eventorg.email as EmailEO,
    eventorg.telp as TelpEO,
    acara.nama as NamaEvent,    
    acara.id_acara,
    acara.tanggal,
    acara.deskripsi,
    acara.lokasi
  FROM eventorg 
  LEFT JOIN acara 
  ON acara.id_eo=eventorg.id_eo AND eventorg.id_eo='$ideventO';
  </code></pre>
  
  <p>'id_eo' in table 'eventorg' is primary key, 'id_eo' in table 'acara' is foreign key</p>