1
ADOdb count number of records
$recordSet = $conn->Execute('SELECT * FROM mytable where published = '.$conn->qstr('1').' or published = '.$conn->qstr('2').' order by id DESC');
$counter = $recordSet->recordCount();
echo $counter;
Interserver | Standard & VPS Cloud Hosting | $2.50 /Month
Flexible VPS hosting platform to deploy your online projects.
Economical and balanced between processor cores, memory and storage
rated 1 times
(1)
(0)
comments: 0 / hits: 1367
/ 4 years ago, sun, apr 8, 18, 04:14:33
More From
» PHP
Comments
There are no comments for this Snippet yet