please,I need help,it is so simple and can find the reason,sending a query to php to return a json and a simple sum對某個領域或其他價值的價值沒有意識到,但是如果,怎麼了? ... // www.mipagina.com.mx/consultas.php?cmd=SELECT 1 + 1 SELECT 1 1 \ n您的SQL語法有錯誤;檢查對應於你的MySQL服務器版本的手冊,在第1行的'1'處使用正確的語法 ... // www.mipagina.com.mx/consultas.php?cmd=SELECT 1-1 [{ 「1-1」:「0」}] ... // www.mipagina.com.mx/consultas.php?cmd=SELECT cantidad + 1 FROM timbres WHERE id = 2 SELECT cantidad 1 FROM timbres WHERE id = 2 \ n您的SQL語法有錯誤;檢查與您的MySQL服務器版本相對應的手冊,以便在第1行的'1 FROM timbres WHERE id = 2'附近使用正確的語法。 ... // www.mipagina.com.mx/consultas.php?cmd=SELECT cantidad - 1 FROM timbres WHERE id = 2 [{「cantidad-1」:「24」}]php?cmd = SELECT 1 + 1 not found and SELECT 1-1 it works
-4
A
回答
0
您需要對您的sql查詢進行URL編碼 - +
標誌通常被解釋爲url中的空格。如果您手動對其進行編碼,您需要將+
標誌替換爲%2B
+0
非常感謝,如果我跑 –
相關問題
- 1. 如果EXISTS(SELECT 1 FROM#tempTable1)AND NOT EXISTS(SELECT 1 FROM#tempTable2哪裏...)
- 2. DOM select works,jquery does not
- 3. select top 1 * vs select top 1 1
- 4. Resource 1 works,2 does not
- 5. Php to MySql select select not working
- 6. MySQL SELECT 1 vs SELECT`field_id` AND COUNT 1 vs COUNT(*)or COUNT(`field_id`)性能明智
- 7. SELECT and UPDATE not working - MySQL
- 8. MySQLI和Select 1
- 9. PHP MySQL affected_rows = -1 SELECT後
- 10. PHP - Mysql select AND OR
- 11. PHP,Javascript,select and alert
- 12. objective c sqlite no select works
- 13. debuild notify make [1]:go:Command not found
- 14. SELECT COUNT(*)returns -1
- 15. Sql SELECT TOP 1
- 16. Oracle SELECT 1
- 17. SELECT WHERE列1 = 1 AND列2 = MAX(列2)
- 18. JOIN(SELECT ...)ue ON 1 = 1?
- 19. Normalizer not found in PHP 5.3.8 and NOT xampp
- 20. PHP Select submit not working
- 21. select top 1 nhibernate oracle
- 22. 「WHERE NOT EXISTS」和「SELECT 1 FROM」不起作用的組合
- 23. sbt and play:「test」works「test:run」not
- 24. 1 var works,1不。爲什麼?
- 25. 使用同一表中的select查詢-2更新select select-1
- 26. NHibernate 3.1.0:Select 1 subquery
- 27. SELECT EXISTS與LIMIT 1
- 28. PHP select onchange not working
- 29. SELECT TOP 1 ID,DISTINCT字段
- 30. postgresql,select multiple json_array_elements works so werid
請正確格式化您的問題! –