error with blanks and ExecuteRemoteQuery

fanfalveto

Active Member
Licensed User
Longtime User
i try that:
B4X:
ExecuteRemoteQuery("http://xxx.xxx.xxx/xxx/xxx.php?tipo=18&nombre="&nom, 1)
this runs ok if nom="perico" but if nom="perico periquin" makes this error
B4X:
java.lang.IllegalArgumentException: Illegal character in query at index 86: http://xxx.xxx.xxx/xxx/xxx.php?tipo=18&nombre=perico periquin
the problem is with blank spaces.
Any idea?
Thanks
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…