This page will display the contents of an array which is filled
with the contents of a table that is read from a page.
(:tabledb action=init:)
(:tabledb action=read alias=magazines1 page="TableDB.ReadTable1" table=6:)
(:tabledb action=display:)
|
Function TableDB() : Action not found. $action='init'
Year
| Count
| Jan
| Feb
| Mar
| Apr
| May
| Jun
| Jul
| Aug
| Sep
| Oct
| Nov
| Dec
| 1995
| 2
|
|
|
|
|
|
|
| X
|
|
|
| X
| 1996
| 1
|
|
|
|
|
|
|
|
|
|
|
| X
| 1997
| 1
|
|
|
|
|
|
|
| X
|
|
|
|
| 1998
| 3
|
|
|
|
| X
| X
|
|
|
|
|
| X
| 1999
| 4
|
|
| X
| X
|
| X
|
| X
|
|
|
|
|
|
(:tabledb action=read alias=magazines2 page="TableDB.ReadTable1" table=7:)
(:tabledb action=display alias=magazines2:)
(:tabledb action=dbver:)
(:tabledb action=phpver:)
Show a syntax error:
(:tabledb action=sql query="SELECT Year,Count FROM magazines3":)
(:tabledb action=sql query="SELECT * FROM magazines2 WHERE Year BETWEEN 2000 AND 2003 ":)
(:tabledb action=sql query="SELECT Year,Count FROM magazines2 WHERE Year BETWEEN 2000 AND 2003 ":)
|
Year
| Count
| Jan
| Feb
| Mar
| Apr
| May
| Jun
| Jul
| Aug
| Sep
| Oct
| Nov
| Dec
| 2000
| 2
|
|
|
| X
| X
|
|
|
|
|
|
|
| 2001
| 0
|
|
|
|
|
|
|
|
|
|
|
|
| 2002
| 3
| X
|
|
|
|
|
|
| X
| X
|
|
|
| 2003
| 3
|
|
| X
|
|
|
| X
| X
|
|
|
|
| 2004
| 1
|
|
|
| X
|
|
|
|
|
|
|
|
|
Function TableDB() : Action not found. $action='dbver'
Function TableDB() : Action not found. $action='phpver'
Show a syntax error:
Function TableDB() : Action not found. $action='sql'
Function TableDB() : Action not found. $action='sql'
Function TableDB() : Action not found. $action='sql'
|