Answers

Question and Answer:

  Home  WordPress (CMS)

⟩ How come the code <?php print “Contents $arr[1]“; ?> works, but <?php print “Contents $arr[1][2]“; ?> doesn’t for two-dimensional array of mine?

Any time you have an array with more than one dimension, complex parsing syntax is required. print “Contents: {$arr[1][2]}” would’ve worked. /> - Yes.

 161 views

More Questions for you: