Mega Code Archive

 
Categories / Php / Data Type
 

Reference the assiciate array element

<? $birthdays['K'] = '1988-04-12'; $birthdays['S'] = '1986-05-16'; $birthdays['D'] = '1983-02-09'; echo('My birthday is: ' . $birthdays['K']); ?>