Posted by Janwillem Borleffs on 10/10/14 11:51
drako wrote: > Not exactly sure what could be going on here, and how to move > forwards. > $text = 'a b c'; print preg_replace('/([a-z0-9])/', '<img src="$1.jpg" />', $text); Or if you also have images for uppercase letters: print preg_replace('/([a-z0-9])/i', '<img src="$1.jpg" />', $text); JW
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming