Hallo,
$zahl = "01";
echo $zahl;
ist nur die frage, woher kommt die zahl?
bzw. so
$zahl = 1;
$zahl = str_pad ($zahl, 2, "0", STR_PAD_LEFT);
echo $zahl;
MFG
Andavos
--
http://www.rpgcommunity.de/clanwissen/index.php Webdesign, PHP, Clan-Aufbau und mehr
http://www.rpgcommunity.de/clanwissen/index.php Webdesign, PHP, Clan-Aufbau und mehr