Sanchixx
0
Junior Poster in Training
Recommended Answers
Jump to PostTry:
echo stripslashes($str);
But that'll only work with certain combos. Using it to replace \n etc won't work as expected. To get around most of these problems, enclose the string in single quotes '...'.
$str = 'wkvcw\swfvwnl';
Jump to PostWhat do you mean change everything in a php page? I assumed you meant change a small string as in the contents of a variable. What are you trying to do? Show your code so far or at least what you're trying to change. Accurately describing your problem will avoid …
All 8 Replies
diafol
Sanchixx
0
Junior Poster in Training
Sanchixx
0
Junior Poster in Training
Squidge
101
Newbie Poster
Sanchixx
0
Junior Poster in Training
diafol
Sanchixx
0
Junior Poster in Training
diafol
Sanchixx
commented:
Great
+0
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.