Whenever i type a bit of text containing inverted commas into a text field, I get an error message like this:
Error adding submitted news: You have an error in your SQL syntax near 'test', link='test', url='test', date=CURDATE()' at line 2
I am using the following input code:
<input type="text" name="header" size="40" class="<?= $headerClass ?>" value="<?= $header ?>">
I presume this is a mixup with similar characters in the code, but i don't know how to get around this...
Anyone?