![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 270 Pomógł: 0 Dołączył: 15.06.2003 Ostrzeżenie: (0%) ![]() ![]() |
co jest szybsze czytanie przez file czy fopen (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif)
i mam cia słów "To ą słowa testowe [ex]tutaj[/ex]chcialbym teraz cos z tym zrobić" jak zrobić żeby wyciągnęło z tego słowo znajdujące sie pomiędzy [ex] i [/ex] (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 223 Pomógł: 0 Dołączył: 13.01.2003 Skąd: 3rd ball of mud behind a big ball of burning gas Ostrzeżenie: (0%) ![]() ![]() |
[php:1:03f8cb1f39]<?php
preg_match("/[pre](.+)[/pre]/Uise", $contented, $matches); $szukana1 = $matches[0]; ?>[/php:1:03f8cb1f39] A na przyszlosc proponuje dokladniej czytac manuala. [quote]int preg_match ( string pattern, string subject [, array matches [, int flags] |
|
|
![]() ![]() |
![]() |
Aktualny czas: 3.10.2025 - 04:43 |