This topic is locked

Text Area/Text Field error checking

3/2/2015 4:03:14 PM
PHPRunner General questions
M
mid3vil author

Need to add in error checking to see if a string contains an apostrophe ' . Right now the update string crashes when there is one or more in the field.

EG:

update testTable set testString = 'test'
but if you add in an apostrophe to the end of test' it blows up with

update testTable set testString = 'test''
where a correct update string would look like

update testTable set testString = 'test'''
these are fictitious tables and fields just FYI.
PHPRunner 8.0 build 23504