Select Multiple not escaping apostrophes

QuestionsSelect Multiple not escaping apostrophes
Stephen asked 1 month ago

Hi Abu,

With the latest release the ‘Select Multiple’ control generates a SQL error if any of the values contain apostrophes.

Thanks in advance,


2 Answers
Abu Ghufran Staff answered 1 month ago


I’m unable to generate this issue. I tested with the online demos.
Can you please tell the steps to get this issue.

Abu Ghufran - Dev Team
Grid 4 PHP Framework
Abu Ghufran Staff replied 1 month ago

Also share code / screenshot to generate the case OR email me files at [email protected]

Stephen answered 1 month ago

Hi Abu,

I just tested with the demo, but the demo passes the ID in the select so does not generate the error.

If you change the code to pass the name it will cause the non escaped apostrophe error, as per  screenshot.

View post on

Thanks, Stephen

Your Answer

5 + 0 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.

How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?