Posted By

assaado on 11/19/08


Tagged

mysql php open programming source


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

vali29


Joining two tables


 / Published in: PHP
 

  1. <?php
  2. //DB connection
  3. $query = "SELECT table1.*, table2.* FROM table1 LEFT JOIN table2 ON table1.column = table2.column";
  4. ?>

Report this snippet  

You need to login to post a comment.