Hi,
With the sentence :
"Bordeaux est au bord de l'eau"
How to do to underline, for instance, the word "eau" ? without underlining
the substring of "Bordeaux" ?
I don't know how to isolate the word...
My current code :
$text=eregi_rep lace("(".strips lashes($word_to _underline]).")","<b>\\0 </b>",$
text);
but this underline "eau" in "Bordeaux" too and i don't want to !
Thanks for any help !
Fred
With the sentence :
"Bordeaux est au bord de l'eau"
How to do to underline, for instance, the word "eau" ? without underlining
the substring of "Bordeaux" ?
I don't know how to isolate the word...
My current code :
$text=eregi_rep lace("(".strips lashes($word_to _underline]).")","<b>\\0 </b>",$
text);
but this underline "eau" in "Bordeaux" too and i don't want to !
Thanks for any help !
Fred
Comment