I have an order form that is split up over 5 steps, carrying the info from one step to the next using sessions. The order form works great, except.......
On step 3, the user is required to enter the name of his/her company. If the name has an apostrophe in it (e.g., Guido's Barber Shop), then all the session variables set on that page end up getting lost.
The crazy thing is, they don't get lost right away. When I do a print_r of my session variables on that page, they show up fine. But when you go to the next page, to complete the order, they have disappeared.
My server has magic_quotes on, and I am using stripslashes so that I don't get slashes in my forms.
Have any of you ever come across this issue? Please help me ASAP, this is urgent. Thank you so much in advance.