...
Tip |
---|
You should use |
...
Code Block |
---|
$sql = 'SELECT COUNT(*) FROM '._DB_PREFIX_.'shop'; $totalShop = Db::getInstance()->getValue($sql); |
Note |
---|
|
NumRows()
This method caches and returns the number of results from the most recent SQL query;
...
...
Tip |
---|
You should use |
...
Code Block |
---|
$sql = 'SELECT COUNT(*) FROM '._DB_PREFIX_.'shop'; $totalShop = Db::getInstance()->getValue($sql); |
Note |
---|
|
This method caches and returns the number of results from the most recent SQL query;
...