php help
php help
- Started
- Last post
- 4 Responses
- tomkat
ok...
i have this stupid php question..how do i stop php from adding backslashes to my string when writing into a textfile?
i figured a way, but i does not seem very clean programmed to me..
any advice from a pro??
- kgreene0
this might help i think you have to turn magic quotes off.
- enobrev0
actaully, the opposite. IF you want it NOT to add the slashes you want to use the stripslashes function
- kgreene0
ahh... makes sense
- tomkat0
thanks, but i think that will not solve the problem on the server..BUT..
thanks to your link i saw this little handy function
stripslashes();-)