Blog Home /
CMS
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: 637 | 2019-10-11
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: 1488 | 2019-10-10
1
TODO
Dept:
CMS | Read: 1294 | 2018-11-11
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: 62710 | 2018-11-08
Tags:
CMS,
Wiki
Dept:
CMS | Read: 27686 | 2013-12-29
- 1
- 2