Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

selecting data from two tables in database php

SELECT tbl_a.column1 , tbl_a.column2
       tbl_b.column1 , tbl_b.column2
FROM   tbl_a INNER JOIN tbl_b
ON     tbl_a.commonfield=tbl_b.commonfield
Source by www.codingcage.com #
 
PREVIOUS NEXT
Tagged: #selecting #data #tables #database #php
ADD COMMENT
Topic
Name
3+9 =