I have a site where I am recording several of my coding functions and some coding tricks that I have learned through my travels. I save these things for future reference for myself and as tutorials for others.
However, when I submit SQL type code into Drupal's textarea or text field, all I get is a blank "Add Content" form.
Now I know servers have several "plugins" that may be preventing this, so I disabled PHP_SAFE_MODE and Mod_Security on my server.
I tried to add new content again... again it fails and I am left at an empty "Add Content" form.
I have determined the text within my tutorial that is causing this to fail is:
UPDATE table1 SET changelog = CONCAT(changelog, "new data") WHERE id = 'idnumber';
I have tried to enter this code segment on my current drupal 7.x install, on a fresh drupal 7.x install, and on a fresh drupal 6.x install. It fails everytime.
To make sure it was a drupal issue, I created a form outside of drupal and was able to successfully submit the code. Therefore, I know it is not being filtered out by any of my server's "plugins".
Does anyone know what I can do? Could someone verify this is drupal preventing me from submitting this and not a server config?
Many thanks for any help!