FAQ |
Kalender |
2011-08-15, 12:02 | #3 | ||
|
|||
Nykomling
|
Citat:
function parse_tags_recursive($input) { $regex = '#\[inc]((?:[^[]|\[(?!/?inc])|(?R))+)\[/inc]#'; if(is_array($input)) { $input = require_once($input[1]); } return preg_replace_callback($regex, 'parse_tags_recursive', $input); } $post_content = parse_tags_recursive($row['post_content']); |
||
Svara med citat |
|
|