Posts by Lucas Ferraz • 111 points
2 posts
-
0
votes1
answer37
viewsQ: Array does not go full through json
Good night, I am trying to pass an array to json but it only passes the last variable function GetSuppliersView() { global $db; global $id; global $type; try{ $query = $db->query("SELECT * FROM…
-
-1
votes1
answer604
viewsQ: Problem showing a "select Count(*)" in PHP
$result = $SQL->query("select count(*) AS codes_count from gamecodes WHERE gamecode='.$SQL->quote($gamecode).' AND alreadyused='N';")->fetch(); $counts = $result['codes_count']; echo…