2078 1

CSC329 ยท 2078 ยท 10 marks

How do you define an Array in PHP? write a PHP script to create a multidimensional array name Product that will contain pcode, pname, and price. Initialize the array with at least three instances. Also, Write an HTML script to display the initialized values of the array in an HTML Table.

How do you define an Array in PHP? write a PHP script to create a multidimensional array name Product that will contain pcode, pname, and price. Initialize the array with at least three instances. Also, Write an HTML script to display the initialized values of the array in an HTML Table.[10]

Web TechnologyChapter 6: Server Side Scripting using PHPArray

As stated in the course notes: "An array is a special variable, which can hold more than one value at a time. An array can hold many values under a single name, and we can access the values by referring to an index number." --- According to the notes, PHP supports three types of arrays: Type Desc...