Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

any help with this.. thank you Question 1 What will be the output of the followi

ID: 3789725 • Letter: A

Question

any help with this.. thank you

Question 1 What will be the output of the following PHP code? ?ph $states array("Canada array( "population ''Ottawa''), 35,000,000 capita "64,600,000" "Paris"), France opulation capita arra Germany J arra opulation X> "82,600,000" capita J "Berlin") echo "populatio $states["France population capita $states["Germany"ll"capital'']; Answer: Question 2 Write a function in php which takes two parameters and returns (not echos) the HTML representing a link with the destination URL and link text reflecting the parameters passed in. Answer:

Explanation / Answer

Multiple Questions : Answering 1st one .

=========================================

population = .$states["France"]["population"].

=> in the states array , select France

=> In the France array select population

Thus .$states["France"]["population"]. means population of france

==============================

capital = .$states["Germany"]["capital"].

=> in the states array , select Germany

=> In the Germany array select capital

Thus, capital = .$states["Germany"]["capital"]. means capital of Germany