If you look at the queries, look for the clientID, city and notes. You will notice that the quotes begin on one line and end on the next. This is what's causing the problem. You will also notice that no other field has line breaks.
Note: instead of duplicating code like this, it might be an idea to put it in one place and call it wherever required.
Note: instead of duplicating code like this, it might be an idea to put it in one place and call it wherever required.
Comment