//$pos_regx = '|<\!--AfterDocument\(([0-9]+),([0-9]+)\)-->|is';
//$output = preg_replace_callback($pos_regx, getTagRelation, $output);
위와 같이 되어 있는 출력위치를
스킨의 <span id="tag_rel"></span> 의 위치를 찾아서 출력해 주고 싶으데요.
$output = str_replace('<span id="tag_rel"></span>', getTagRelation, $output);
요렇게 했는데 출력이 안되네요.
해당 위치에 getTagRelation 이라고 출력이 되어버리네요.
흠...
$pos_regx = '|<\!--AfterDocument\(([0-9]+),([0-9]+)\)-->|is';
$output = preg_replace_callback($pos_regx, getTagRelation, $output);
그럼 위 내용 중....
$pos_regx = '|<\!--AfterDocument\(([0-9]+),([0-9]+)\)-->|is';
이부분을 고쳐서...
<span id="tag_rel"></span> 이부분에 출력되도록 고칠 수 있지 않을까요.....