![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 233 Pomógł: 0 Dołączył: 18.01.2005 Ostrzeżenie: (0%) ![]() ![]() |
Witam, jaką funkcją mogę zastąpić usuniętą (PHP 5.3) funkcję ereg_replace ?
Chodzi mi dokładnie o to że mam bloki np:
i chce żeby w kodzie zostało samo "cos tam" czyli żeby mi usunęło same znaczniki (w zależności od uprawnień danego użytkownika) |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 46 Pomógł: 2 Dołączył: 2.04.2009 Ostrzeżenie: (0%) ![]() ![]() |
Tip
preg_replace(), which uses a Perl-compatible regular expression syntax, is often a faster alternative to ereg_replace(). źródło php.net (IMG:style_emoticons/default/winksmiley.jpg) |
|
|
![]() ![]() |
![]() |
Aktualny czas: 6.10.2025 - 19:33 |