F fanfalveto Active Member Licensed User Longtime User Oct 2, 2012 #1 I want to upload a photo to a MySql database, gives the following error in the query: java.lang.IllegalArgumentException: Illegal character in query at index 144: http://Ocv/afichar.php?id=356409045...d=1.7167318,latitud=41.2207685,foto=(Bitmap): 480 x 640 Click to expand... el character 144 is ":" after "foto=(Bitmap)" ,the rest seems okay. If anyone can help me. thanks
I want to upload a photo to a MySql database, gives the following error in the query: java.lang.IllegalArgumentException: Illegal character in query at index 144: http://Ocv/afichar.php?id=356409045...d=1.7167318,latitud=41.2207685,foto=(Bitmap): 480 x 640 Click to expand... el character 144 is ":" after "foto=(Bitmap)" ,the rest seems okay. If anyone can help me. thanks
Erel B4X founder Staff member Licensed User Longtime User Oct 3, 2012 #2 The MySQL example PHP script expects a string. You can encode the bitmap as base64 string and store the image as a string. Upvote 0
The MySQL example PHP script expects a string. You can encode the bitmap as base64 string and store the image as a string.