Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP] preg_match
nmts
post
Post #1





Grupa: Zarejestrowani
Postów: 283
Pomógł: 34
Dołączył: 21.03.2008

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


Nienawidzę wyrażeń regularnych! (IMG:style_emoticons/default/dry.gif)

Jak mogę wyciąć poszczególne dane z tabelki z: http://gourl.org/m6c

  1. preg_match('/<tr>
  2. <td class="user_even">
  3. <span class="user_left">Online:<\/span>
  4. <\/td>
  5. <td class="user_even" width="170">
  6. <span class="user_right">(.*)<\/span>
  7.  
  8. <\/td>
  9. <\/tr>
  10. <tr>
  11. <td class="user_odd">
  12. <span class="user_left">Status:<\/span>
  13. /',$content,$online);

Dla "No" coś takiego nie działa. (IMG:style_emoticons/default/tongue.gif)
Go to the top of the page
+Quote Post

Posty w temacie
- nmts   [PHP] preg_match   22.11.2009, 21:43:22
- - athei   Kodpreg_match_all("/\<span class=...   22.11.2009, 22:14:47


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: 14.09.2025 - 18:24