> From: "Ryan A" <ryan@xxxxxxxxxxxx> > $content = str_replace($matches[$index][0],$value,$content); > > If you are interested in seeing the whole script, just scroll down. I'm not... but thanks. Did you read what I wrote? using preg_match twice and then str_replace is a waste. Learn to use preg_replace_callback() to make this worthwhile. ---John Holmes... UCCASS - PHP Survey System http://www.bigredspark.com/survey.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php