Hi,
Hallo Alexander,
vielen Dank.
str_repeat("blah", 8)
Na super...genau das hab ich jetzt drei Stunden gesucht.
angenommen, du wüsstest nicht, dass es die Funktion gibt, wieso brauchst du drei Stunden, um dir
function repeat($input,$n)
{
$text = "";
for($i=0;$i<$n;$i++) $text .= $input;
return($text);
}
zu schreiben?
Schöne Grüße
Julian
--
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rich Cook
http://derjulian.net
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rich Cook
http://derjulian.net