Some mysql queries are not working. Any solution please

I want to update views.

UPDATE Students SET views = views + 1 WHERE id = 2

I am using above query. That is not working

Lastly I found what is the problem.
‘+’ marks are not pass true query. Anyone know solution for that ?

What does “not working” mean? Nothing happened ? Or some error was shown? Where did you run this Query? Via blocks or directly in the script? By the way, this is Kodular Community, maybe you can get help faster if you use Google…


It coming error. I am use the mysql.php script
Same error result coming from both

these sql queries are worked on phpmyadmin. but not in app

Lastly I found what is the problem.
‘+’ marks are not pass true query. Anyone know solution for that ?

You may need to escape the + like this \+, or use additional punctuation - '+' or "+" ?

how does the query arrive on the php side?
did you try my solution here App Inventor Tutorials and Examples: MySQL | Pura Vida Apps, which UriEncodes the query?

Taifun

Lastly it succeeded. The solution is use the Uri Encode for only query.
:heart_eyes:

Thanks for all replies

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.