i think i've been doing too much php/sql coding

Jul 06, 2007 11:15

this actually seemed funny when i was in the shower.

mysql_connect(localhost,'wen','good2bedak1ng'); //good king wenceslas looked out
$date=feast('stephen'); //on the feast of stephen
exec('add weather;weather bohemia -o'); //while the snow lay round about, deep and crisp and even
exec('pom'); //brightly shone the moon that night
exec('add weather;weather bohemia -s'); // tho the frost was cruel
$poorman = $_GET["fuel.winter"]; //when a poor man came in sight, gathering winter fuel

mysql_select_db("page"); //“Hither, page, and stand by me,
$query = "SELECT dwelling.location, dwelling.type, peasants.name ".
"FROM dwelling, peasants ".
"WHERE peasants.currentloc = 'yonder'";//Yonder peasant, who is he? Where and what his dwelling?”

$results = mysql_query($query))
if(mysql_num_rows($results) > 0)): { //if thou knowst it, telling,
{
$location = $results["dwelling.location"]; //Sire, he lives a good league hence,
//underneath the mountain,
//Right against the forest fence
//by Saint Agnes’ fountain.”
}

ok. i really should get some work done.
Previous post Next post
Up