Skip to content
COMP6210 - Week 3 to Week 5
PHP HTML JavaScript CSS Hack TSQL Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
week03 added code for week3 - 5 Aug 20, 2019
week04 added code for week3 - 5 Aug 20, 2019
week05 Added Week 6 and Session 01 Aug 27, 2019
week06
week08/session01 Added Week 08 Sep 10, 2019
.DS_Store Added Session 2 stuff Aug 21, 2019
.gitignore added session 2 Sep 4, 2019
readme.md No commit message Aug 14, 2019

readme.md

Cars Array

The cars_array.php file shows a multidimensional array of cars and each index contains a string and another array displaying a make and 5 models. The output on the HTML is to show the make in an H2 tag and an unordered list for the models.

Cars.php and carsoop.php

This is the same thing as above, but it is refactored to have a PHP class of a car which has a function build in and multiple instances are created which can be looped over.

You can’t perform that action at this time.