Blog 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
Dept: CMS | Read: 28 | 2019-10-11

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:
Dept: CMS | Read: 75 | 2019-10-10

Wiki: Topnew Data Docs

TODO
Dept: CMS | Read: 25 | 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
Dept: CMS | Read: 61650 | 2018-11-08
Tags: CMS, Wiki

Howto create a Topnew CMS theme

Dept: CMS | Read: 27077 | 2013-12-29

  1. 1
  2. 2

Category

Top Tags

wiki, CMS, feature, bug, test, news, PHP, MySQL, blog, SIDU, forum, bank, ticket