Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Co robi ta funkcja?
rja
post
Post #1





Grupa: Zarejestrowani
Postów: 35
Pomógł: 0
Dołączył: 8.12.2006

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


Co dokładnie robi ta funkcja??
  1. <?php
  2. function cleanHtmlToJavascript($textHtml) {
  3. $cleanTextHtml = preg_replace("/[nrt]/", " ", $textHtml);
  4. $cleanTextHtml = str_replace(array('"',"'"),array("&quot;","'"),$cleanTextHtml);
  5. return $cleanTextHtml;
  6. }
  7. ?>
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
dr_bonzo
post
Post #2





Grupa: Przyjaciele php.pl
Postów: 5 724
Pomógł: 259
Dołączył: 13.04.2004
Skąd: N/A

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


Prosze dodac odpowiedni tag to tytulu topika, tak jak stoi w reg. Przedszkola.
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: 7.12.2025 - 08:54