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 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
Get step-by-step solutions from verified subject matter experts
