K
K
Kirill Gorelov2015-11-06 16:46:22
PHP
Kirill Gorelov, 2015-11-06 16:46:22

How to add to an array in php?

Guys. Hello.
How many on the Internet did not climb. So I can't find a better answer.
There is an array. Example from php.su
$A["Ivanov"] = array("name"=>"Ivanov II", "age"=>"25", "email"=>"[email protected]") ;
How can I make it so that I can supplement this array with the date of birth or anything else. By button?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Zhukov, 2015-11-06
@Adobe

$A["Ivanov"]['birthday'] = '17.03.1989';

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question