J
|
Jane 2/9/2009 |
Hi, |
S
|
simonedan author 2/10/2009 |
Halo Jane |
![]() |
hichem 2/10/2009 |
I am not sure I understand correctly but if you would like to extract data from 2 tables and display it on a list page then you can simply create a new view and change the sql. You need to select from the 2 tables and join these on a common field. The rest is all done nicely by PHPR for you. |
S
|
simonedan author 2/11/2009 |
I am not sure I understand correctly but if you would like to extract data from 2 tables and display it on a list page then you can simply create a new view and change the sql. You need to select from the 2 tables and join these on a common field. The rest is all done nicely by PHPR for you. Note that when you select a table or create a view in PHPR it only allows you to select 1 table, however you can change the sql and create a view based on many tables and any fields you want. Here's an example Assuming the following: table1 has date1, field1 table 2 has date2, field2 You want a view to show date1, field1, field2 select t1.date1, t1.field1, t2.field2 from table1 t1, table2 t2 where t1.date1=t2.date2 Hope this helps
|
![]() |
hichem 2/12/2009 |
pls check your pm messages on this board for my reply |