|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Call php function in different tables on database
hello,
how to call a php function on different tables on one database? Is there a script on it ? thanks |
|
#2
|
|||
|
|||
|
When you write a SQL statement to query the database, you choose the table
ex. SELECT * FROM tableName; If you want to join two tables (or more) together you do this: SELECT * FROM tableName1, tableName2; If your using MySql check out the reference manual at mysql.com |
|
#3
|
|||
|
|||
|
hello, thanks for the one of the kind response it really helps...
i have another question, what if table1, table 2 will post the info. this week and table 3, table4 next week? Is there a script.. eg.. the information stored in the table1 and table2 will post on this week while in table3,table4 will post the information next week.. thanks |
|
#4
|
|||
|
|||
|
You might try having fields in your tables that mark what date range you want for displaying the data. Your query can check the range and only use what is in the desired week specific week.
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Applications > Call php function in different tables on database |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|