Einzelnen Beitrag anzeigen

Benutzerbild von Meflin
Meflin

Registriert seit: 21. Aug 2003
4.856 Beiträge
 
#6

Re: [PHP] Funktion will nicht so wie ich

  Alt 22. Okt 2004, 17:47
geht bei mir auch nicht
und das auch nicht:
Code:
<?
function _APRON_censoring($_APRON_pattern, $_APRON_mode) { 
  if (_APRON_mode == "fix") { 
    for ($_APRON_x = 1; $_APRON_x <= strlen($_APRON_pattern); $_APRON_x++) { 
     if ($_APRON_x > 1) { 
       $_APRON_sub = $_APRON_sub."*";
     } 
   } 
   return ($_APRON_pattern[0].$_APRON_sub);
  } 
  if (_APRON_mode == "block") { 
    return ("");
  } 


echo _APRON_censoring("test","fix");
?>
  Mit Zitat antworten Zitat