Hi,
$arr = array( "null", "eins", "zwei"....etc. );
$ergebnis = $arr[rand(1,10)];
Warum so umständlich?
echo [link:http://us2.php.net/manual/en/function.chr.php@title=chr]([link:http://php.net/manual/de/function.mt-rand.php@title=mt_rand]([link:http://www.asciitable.com/@title=97, 122]));
Der Frager wollte das ausgeschriebene Zahlwort haben, und keinen zufälligen Buchstaben.
MfG ChrisB
--
Light travels faster than sound - that's why most people appear bright until you hear them speak.
Light travels faster than sound - that's why most people appear bright until you hear them speak.