Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Modyfikacja stringu HTML
mirobor
post
Post #1





Grupa: Zarejestrowani
Postów: 85
Pomógł: 0
Dołączył: 1.02.2014

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


Pomóżcie!
Mam string w postaci kodu html. Celem jest modyfikacja stringu tak aby wszystkie występujące w html grafiki zostały podlinkowane do np: http://google.pl.
Rozbijanie stringu, dodawanie <a>?
Może JS/Jquery - onClick?


Go to the top of the page
+Quote Post
viking
post
Post #2





Grupa: Zarejestrowani
Postów: 6 381
Pomógł: 1116
Dołączył: 30.08.2006

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


HTML to DOM zatem http://php.net/manual/en/class.domdocument.php
Go to the top of the page
+Quote Post

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: 2.09.2025 - 12:11