Hi guys,
I have a multi-page form and as the user proceeds through each page of the form, the variables are carried over to the next page. The last page inserts the values into a table in the database. My problem is that when someone enters an apostrophe anywhere, each step of the form keeps on adding more and more backslashes in front of the apostrophe. I tried to use the ereg_replace function in the last step and the addslashes/stripslashes functions but nothing seems to work.
Do I have to do something on EACH page of the form?
Thanks
Arif