Love generation with PHP

This page shows how to use "for" loops and a random generator to build HTML elements.

Stupid Love

Shows how to loop helplessly for a while:

Je t'aime plus que moi.


Random Love

Completes "I love you" with a carefully selected string (reload the page if you don't like it):

$love_text !" ?>

Well presented Love

Love is a complex and changing affair. I love you according to my mood.
Sometimes ... "; } } // call the function, generate the table build_table($love_list); ?>
... I love you $love_text

Note: Random generation can be quite useful in different contexts, e.g. check out a VRML example.

This page has been accessed times since last week.


D.K.S.