The problem is that it works only for the "General Guidelines for All Articles" textarea ('comments') and not for the 2 other fields: "Subject" + "Keywords/Comments" ('articlenames' + 'articlekeywords')
In order to see that, you can fill in this page an email address + subject+words for one article, then click 'continue', and then click 'edit' in the Shopping Cart.
04-04-2013, 01:43 AM
I think that, maybe, you need to index 'articlename' and 'articlekeyword'
in the markup.
Without some more debugging to find out for sure where the unwanted slashes are coming from may require more info and debugging.
You say you turned off magic_quotes_gpc in your php.ini file, but have you restarted the web server since then so that it takes effect? (It may not be necessary in all web server configs, but then again it might.)
Are you perhaps somehow double-sanitizing DB inputs? (E.g., applying mysql_real_escape_string() to the data in more than one place)
Otherwise, you might want to put in some error_log()'s or use other debugging methods to find out what the values are that are initially received, see if they have changed before you go to insert them into the DB, etc.
<?php // start of script error_log("Data as input:".PHP_EOL.var_export($_POST,1));