Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have the following array. It contains nicknames and names:
$nickAndNames = array(
array( "Johnie", "John Larson" ),
array ("Maggie", "Margaret London" ),
array("Nic","Nicholas Carradine")
);
Can you please help me to print just the first elements? I mean Johnie, Maggie, Nic.
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)