PHP Remove line breaks from between html tags (Zeilenumbrüche entfernen)

Gepostet am März 6, 2014
1
2
3
4
$string = 'html content';
$search="/>\s+</s"; 
$replace="><"; 
$string = preg_replace($search,$replace,$string);

Tags:

Leave a Reply

 

Posts of Current Category



Facebook: