User Tools

Site Tools


user:thakes3:portfolio:php:loopfun4

Table of Contents

Intro

Synopsis

This code works with the random function to variably change the background color of the table rows generated in the for loop. It then displays both the variables within each iteration of the loop.

The iteration is different in this application as it uses a static array as an index rather then generated numbers from a loop

Overview

There are a few take aways to this code.

  • PHP is very powerful in being able to generate a static web page
user/thakes3/portfolio/php/loopfun4.txt · Last modified: 2016/03/16 00:14 by thakes3