'&' causing problems
In my input form if someone enters 'Mary & Joe' in the first Name field the data goes to the mysql database,but an error appears and the output list doesn't show. If I go into the database and delete that record and put it in as 'Mary and Joe' instead then everything works.
I am using addslashes for the variables in my php code. I thought that would solve the problem but it doesn't.
Does someone recognize this problem and can help?