Variable zerteilen
Variable zerteilen (auslesen)
Hallo
ich habe eine variable $geb
zB.: $geb="20.11.1981"
diese will ich jetzt aufteilen das $tag $monat und $jahr raus kommt
zB.:
$geb="20.11.1981"
$tag="20";
$monat="11"
$jahr="1981"
wie kann ich das am besten so zerteilen?
mit PHP möglichst!
Danke schon mal
ich habe eine variable $geb
zB.: $geb="20.11.1981"
diese will ich jetzt aufteilen das $tag $monat und $jahr raus kommt
zB.:
$geb="20.11.1981"
$tag="20";
$monat="11"
$jahr="1981"
wie kann ich das am besten so zerteilen?
mit PHP möglichst!
Danke schon mal
Please also mark the comments that contributed to the solution of the article
Content-Key: 42636
Url: https://administrator.de/contentid/42636
Printed on: April 24, 2024 at 16:04 o'clock
4 Comments
Latest comment