From: Julian D. <jdibbelt@ON-Luebeck.DE> - 2001-10-19 11:20:21
|
Hi! Lest mal http://www.php.net/manual/en/function.sprintf.php unter Argument- swapping. Ich kannte das zumindest nicht. printf("There are %1\$d monkeys in the %2\$s. That's a nice %2\$s full of %1\$d monkeys.", $num, $location); statt printf("There are %d monkeys in the %s. That's a nice %s full of %d monkeys.", $num, $location, $num, $location); |