for ($i=1; $i<=10; $i++) { print "I love you so ! "; } ?>Je t'aime plus que moi. for ($i=2; $i<=10; $i++) { echo "Non, je t'aime $i fois plus que moi ! "; } ?>
$love_list = array ("a lot", "a bit", "somewhat", "à mourir", "forever", "until notice", "more than I love my dog"); // seed the random generator, just believe it and copy :) srand (mktime ()); $love_list_length = sizeof($love_list) + 1; $love_index = (rand() % $love_list_length); $love_text = $love_list[$love_index]; echo "I love you $love_text !" ?>
... I love you | $love_text | "; } } // call the function, generate the table build_table($love_list); ?>
$access = (rand() % 10000); ?> This page has been accessed echo $access ?> times since last week.