ik weet dus niet hoe ik dit kleine stukje doe:
Dit geeft 2010-07-8
Maar het moet 2010-07-08 geven
Hoe doe ik dat?
[COLOR= #0000BB]<?php
$day[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/date"]date[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"d"[/COLOR][COLOR= #007700])+[/COLOR][COLOR= #0000BB]1[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [URL="http://www.php.net/date"]date[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"Y-m-"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$day[/COLOR][COLOR= #007700]);[/COLOR]
?> Dit geeft 2010-07-8
Maar het moet 2010-07-08 geven
Hoe doe ik dat?


het werkt