Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP] problem z preg_match();
moto0095
post
Post #1





Grupa: Zarejestrowani
Postów: 247
Pomógł: 9
Dołączył: 12.03.2010

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


Witam, mam problem z ułożeniem odpowiedniego wyrażenia do preg_match();
Mam o to taki kod HTML:
  1. | <a href="index.html?akcja=cośtam&amp;page=TO">&gt;&gt;</a> |

I potrzebuje wyciągnąć tylko "page=".
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
mat-bi
post
Post #2





Grupa: Zarejestrowani
Postów: 690
Pomógł: 92
Dołączył: 6.02.2011

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


eee, $_GET['page'] ?

Czekaj, chyba ogarniam.

<a href="index.html?akcja=(.*)&page=(.*)">(.*)<\/a>?

Ten post edytował mat-bi 2.08.2011, 20:37:31
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: 29.12.2025 - 04:42