Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP] Preg_replace, Uknown modifier
infoo1
post
Post #1





Grupa: Zarejestrowani
Postów: 117
Pomógł: 0
Dołączył: 12.11.2008

Ostrzeżenie: (0%)
-----


Mam kod:
  1. <?php
  2. $this->cnt = preg_replace('(.*?)ť Grupy(.*?)cos/s*/cos2(.*?)cos3: /$*/wygenerowano w (.*?)ms obecny czas: (.*?)','${3}',$this->cnt);
  3. ?>

Wyświetla:
Cytat
Warning: preg_replace() [function.preg-replace]: Unknown modifier '�'

Co jest źle (oprócz wszystkiego (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg) )?

edit:
tam, gdzie jest " t' " powinno być "»".
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
erix
post
Post #2





Grupa: Moderatorzy
Postów: 15 467
Pomógł: 1451
Dołączył: 25.04.2005
Skąd: Szczebrzeszyn/Rzeszów




Kod
($*)

WTF?
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 26.09.2025 - 02:38