SyntaxFix
Write A Post
Hire A Developer
Questions
for PHP 5.3 using PDO
<?php $staff=$dbh->prepare("SELECT count(*) FROM staff_login"); $staff->execute(); $staffrow = $staff->fetch(PDO::FETCH_NUM); $staffcount = $staffrow[0]; echo $staffcount; ?>