Can't execute a query in a for loop
50092
Commands out of sync; you can't run this command now
58310
mysql_num_rows(): supplied argument is not a valid MySQL result resource
2452
Dynamic query with LINQ won't work
17529
Command substitution in for loop not working
60295
Script breaking below MySQL queries, but no error being given?
6011
How do I build a SOQL query for records in a list of IDs?
158773
Why isn't the second mysqli_fetch_assoc executing?
46115
Syntax error when executing INSERT INTO statement
135630
Method to excute query and return results
121856
The result of a query cannot be enumerated more than once
32472
MySQLSyntaxErrorException near "?" when trying to execute PreparedStatement
131529
Use a variable in a 'for' loop
62898
QUERY error for BY column
60484
PHP: multiple SQL queries in one mysql_query statement
151949
Using OPENQUERY to execute a script
65657
How do I loop through a MySQL query via PDO in PHP?
59517
FATAL_ERROR|System.QueryException: List has no rows for assignment to SObject