Hi there,
first sorry for my bad english, my german is much better
OK I started with php 1 week ago so my knowing about php arnt that great.
I have a MySQL database, where I have a field for date in this format (yyyy-mm-dd) so what I have to to, to get this date on my Page in this format (dd-mm-yyyy or better dd.mm.yyyy) ?
2.)
How can I say a String in a PHP Page it should have the NOW-Date-Time in this format ( yyyy-mm-dd 00:00:00) ?
3.) As I told u in my first question I have a date (birthday) in my MySQL DB so how is the script to get a Age from this date to the Now-Date . I mean the script should write on the Page, This user is now XX Years old.
I hope u can help me.
Thx and greetings from germany
Xyla
first sorry for my bad english, my german is much better

OK I started with php 1 week ago so my knowing about php arnt that great.
I have a MySQL database, where I have a field for date in this format (yyyy-mm-dd) so what I have to to, to get this date on my Page in this format (dd-mm-yyyy or better dd.mm.yyyy) ?
2.)
How can I say a String in a PHP Page it should have the NOW-Date-Time in this format ( yyyy-mm-dd 00:00:00) ?
3.) As I told u in my first question I have a date (birthday) in my MySQL DB so how is the script to get a Age from this date to the Now-Date . I mean the script should write on the Page, This user is now XX Years old.
I hope u can help me.
Thx and greetings from germany
Xyla
Comment