<?php
function Text_ParseReplace($replace){
static $id=0;
if(!isset($GLOBALS['Text_ParseCode'])){
$GLOBALS['Text_ParseCode']=array(
'search'=>array(),'replace'=>array());
$id=0;
}
$id++;
$tag='§C'.$id.'§';
$GLOBALS['Text_ParseCode']['search'][]=$tag;
$GLOBALS['Text_ParseCode']['replace'][]=$replace;
return $tag;
}
?>