/*
The following is an example of how to very easily make a complex looking table of data. This makes it extremely easy to modify order, add/remove links, etc. to multiple rows of data.
Issues to consider:
- Every time you load the page the data will be different due to the randomization.
- Sorting does not work. Along those lines, due to the randomization the column that is marked as sorted will not actually be
*/
// set up some data for us to randomize. These lists can be as long or as short as you like.
for($x=0; $x<100; $x++){
// pick some random values for this time through the loop
$city = $cities[rand(0,count($cities)-1)];
$dir = $dirs[rand(0,count($dirs)-1)];
$street = $streets[rand(0,count($streets)-1)];
$state = $states[rand(0,count($states)-1)];
$name = getRand($lastNames).", ".getRand($firstNames);
// now put the above variables wherever you need them in some HTML
?>