Help with php forms
Posted: Sun Feb 12, 2006 9:59 am
Hi,
Im building a project that allows someone to add, edit, and delete a certain entry. Now this entry has all different types of characters, so ', /, \, etc. Im having problems with this. When I add an entry, i use the addslashes function, and when I display/edit them I use the strip slashes function, allthough this doesnt allways work. For example, when I make a new entry that looks like this: c:\oij'\/\
it comes out looking like this: c:oij'/ and then when I edit it again, it looks like this: c:\oij
Can someone please help me with these types of characters
Im building a project that allows someone to add, edit, and delete a certain entry. Now this entry has all different types of characters, so ', /, \, etc. Im having problems with this. When I add an entry, i use the addslashes function, and when I display/edit them I use the strip slashes function, allthough this doesnt allways work. For example, when I make a new entry that looks like this: c:\oij'\/\
it comes out looking like this: c:oij'/ and then when I edit it again, it looks like this: c:\oij
Can someone please help me with these types of characters