Question: Identify 5 syntax errors from the following code and write the correct code in the word document [25 marks (WRITE THE LINE NUMBER ALONG WITH

 Identify 5 syntax errors from the following code and write the

Identify 5 syntax errors from the following code and write the correct code in the word document [25 marks (WRITE THE LINE NUMBER ALONG WITH YOUR CORRECT CODE IN YOUR ANSWER SHEET 1 Pet Animals" 3 pa= array("Cat", "Cow", "Parrot" "Duck"); 4 echo $pa[0]" "Spa[1].' " Spa[2]." "Spa[4]; 5 echo 6 $c-count($p): 7 echo " There are $c items in the array": 8 ?>

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!