From past experience I have found that if you copy and paste content form Microsoft Word of from webpages, there can sometimes be tab characters within the text. To remove tab characters in your PHP string you can do the following…

$a "this is a	sentence"
$a = str_replace("t",' ',$a);
echo $a;

The above code uses str_replace to replace the tab character with a space.

You may also like: PHP Str Replace
Free Graphics, Icons, Tutorials
Free Graphics Free Christmas Vector Icon Graphics Pack 2017Free Fitness Vector Icons Graphics PackFree Camping Vector Graphics PackFree Summer Graphics PackFree File Icon PackFree Fast Food Vector Graphics
Sharing is caring...
Like & Follow
Share the love, share this page! Facebook Twitter Digg Reddit LinkedIn Pinterest Email
Close [X]
The Web Taylor
1000 Lakeside North Harbour Portsmouth, Hampshire PO6 3EN
02392 123358