View Single Post
Old 11-07-2003, 02:12 PM   #6
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. When you run the following, what do you see when you look at the HTML source?
PHP Code:
<?php
$min_word_length 
2;
$text " or-juzutuziopa ";
echo 
$text " <- orig text<br>\n";
$text ereg_replace('[[:blank:]][^ ]{1,'.$min_word_length.'}[[:blank:]]',' ',' '.$text.' ');
echo 
$text " <- new text<br>\n";
?>
I get the following:
Code:
 or-juzutuziopa  <- orig text<br>
  or-juzutuziopa   <- new text<br>
Also, thanks for pointing out these problems. It certainly will help make PhpDig better.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote