1. Read
  2. Vote
  3. Old
  4. New
  5. Hot
  6. Reply

Home / CMS


Wiki: Topnew Db Where Docs

Wiki: Howto use Topnew\Db v 2019.10.10

Topnew DB is a PHP class to use PDO database library easily.

7 - $db->where()

where() and having() have exactly same behaviour, will accept multiple calls.

->where('raw SQL')
->where('id', 1
Cat: CMS | Read: 1100 | 2019-10-11  9

Wiki: Topnew DB Docs

Wiki: Howto use Topnew\Db v 2019.10.10

Topnew DB is a PHP class to use PDO database library easily.

1 - Quick start

Save Topnew\Db file into somewhere eg:
vendor/topnew/src/Db.php

An example of your applications:
Cat: CMS | Read: 2367 | 2019-10-10  10

Wiki: Topnew Data Docs

TODO
Cat: CMS | Read: 1930 | 2018-11-11

Wiki: Topnew Form Helper

Wiki: CMS Form Helper v 2018.09.09

Topnew Form helper generates html form, with data validation. It also generates SQL based on input values. Let's start with an example:


Let's start with a quick Example:

/* Define all for
Cat: CMS | Read: 63257 | Msg: 1 | 2018-11-08  5
Tag: CMS, Wiki

Howto create a Topnew CMS theme

Cat: CMS | Read: 27977 | 2013-12-29

  1. 1
  2. 2

Category