I'm trying to send input from an edittext to PHP. If I send in something with no spaces it works ok, but crashes with spaces and says this:
illegal character
...which refers to the space.
Obviously it's a matter of getting the quotes correct but for some reason I just can't get this right.
Where do I add the quotes?
Is it in Java during creating the URL?
http://example.com/android/project_group_notes_details.php?course=\'"+sessionCourse+"\'";
or while creating the Variable?
String sessionCouse = "\'Software Development With Spaces\'";
or is it somehow done server side?