Ewa,
Ik zit met het volgende probleempje,
Wanneer ik dit doe:
Werkt niet, dan krijg ik in de functie 1. Met tags werkt hij wel:
Maar als ik de dan met str_replace weghaal, krijg ik weer als hierboven 1.
Kan iemand me helpen?
Gr,
Milan
Ik zit met het volgende probleempje,
Wanneer ik dit doe:
[COLOR= #0000BB]<?php
$string[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/preg_replace"]preg_replace[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"#[bp](.*?)[/bp]#si"[/COLOR][COLOR= #007700],[/COLOR] bij_bepaling[COLOR= #007700]([/COLOR][COLOR= #DD0000]\1[/COLOR][COLOR= #007700]),[/COLOR] [COLOR= #0000BB]$string[/COLOR][COLOR= #007700]);[/COLOR]
?> Werkt niet, dan krijg ik in de functie 1. Met tags werkt hij wel:
[COLOR= #0000BB]<?php
$string[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/preg_replace"]preg_replace[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"#[bp](.*?)[/bp]#si"[/COLOR][COLOR= #007700],[/COLOR] bij_bepaling[COLOR= #007700]([/COLOR][COLOR= #DD0000]<span>\1</span>[/COLOR][COLOR= #007700]),[/COLOR] [COLOR= #0000BB]$string[/COLOR][COLOR= #007700]);[/COLOR]
?> Maar als ik de dan met str_replace weghaal, krijg ik weer als hierboven 1.
Kan iemand me helpen?
Gr,
Milan
?