invalid
New Member
usually i'm the one "helping" people, but now i need some help.
i need to run a mqsql query that selects the table "codes" where platid equals $id and where firstletter equals $letter
here's what i tried:
i need to run a mqsql query that selects the table "codes" where platid equals $id and where firstletter equals $letter
here's what i tried:
PHP:
$query = "SELECT * FROM games WHERE platid=$id AND firstletter=$letter limit 0,30";
$query = "SELECT * FROM games WHERE platid=$id AND WHERE firstletter=$letter limit 0,30";
$query = "SELECT * FROM games WHERE platid=$id firstletter=$letter limit 0,30";