MySQL error when inserting apostrophe
Hi Eric - Thanks for your response. The data type is varchar. I replaced the line of code on the page with the code you supplied, and I got the following error. The company name I used was Matt's.
Unknown column 'Matt's' in 'where clause'
Showing my inexperience with this, I am using the email address of the client as the username for the log in page, so I am not sure if that makes any difference.
Thank you for your help on this.