LucasFerraz
Systems Analyst
Hello,
how can I show this var?
Error:
how can I show this var?
$gamecode = XXXXX-XXXXX--XXXXX-XXXXX;
$count = $SQL->query("select count(*) from gamecodes WHERE gamecode='.$gamecode.' AND alreadyused='N';");
echo $count;
Error:
Catchable fatal error: Object of class PDOStatement could not be converted to string in Gesiorpath\htdocs\pages\accountmanagement.php on line 677