Assignment: color table ($$$)
Write a file named color.php and put the this code block
inside of <table> </table tags into the body of the file. publish to folder topic2 and submit the link here.
Note, look at the echo line, it set up random arguments to the background-color: css property.
See http://www.w3schools.com/css/css_background.asp for more information
rand(n,m) returns a random number between n and m inclusive.
So rand(1,6) can pick dice, rand(1,52) can pick cards, etc.
inside of <table> </table tags into the body of the file. publish to folder topic2 and submit the link here.
Note, look at the echo line, it set up random arguments to the background-color: css property.
See http://www.w3schools.com/css/css_background.asp for more information
rand(n,m) returns a random number between n and m inclusive.
So rand(1,6) can pick dice, rand(1,52) can pick cards, etc.