View Full Version : Yo Mama!
Phantom Joker
07-03-08, 17:55
Your Momma is so fat . . .
She went bungee jumping and went straight to Hell.
Phantom Joker:eek:
You don't know my Momma
My Momma is a saint
Whereas Yo' Momma so ugly, so fat and so stupid that words cannot describe just how ugly, fat, and stupid Yo' Momma is . . .
but PHP can....................
<?PHP
if($aboveStatement == 'denied'){
$aboveStatement = TRUE;
}
if($aboveStatement != 'denied'){
$aboveStatement = TRUE * 2;
}
if($aboveStatement == 'retaliated'){
$aboveStatement = TRUE * 2;
if(!isset($phantomJoker)){
$phantomJoker = '14 year old boy';
}
}
## incase of failure
if(!isset($aboveStatement)){
$regardless = TRUE;
$aboveStatement = $regardless;
}
## now describe the Momma
$Momma = 'Fat-';
$Momma .= 'Ugly-';
$Momma .= 'Stupid';
if(isset($Momma)){
$MommaYo = explode('-',$Momma);
$i=0;
while($MommaYo[$i] != ""){
$yoMomma[$i] = array(
"WhosMomma" => 'Yo\' Momma ',
"Value" => 'Sooooooooooo ',
"Attribute" => $MommaYo[$i]
);
$i++;
}
print('<pre>');
print_r($yoMomma);
$phantomsMomma = '';
foreach($yoMomma as $notMyMomma){
if($aboveStatement == TRUE){
$phantomsMomma .= $notMyMomma[WhosMomma].$notMyMomma[Value].$notMyMomma[Attribute].'<br />';
}
}
if(isset($phantomsMomma)){
echo $phantomsMomma.'That it inspires me into taking half an hour out of my weekend to code an explanation';
}
}
?>
Exactly how bored am I??
IntroSites
08-03-08, 18:54
Exactly how bored am I??
this bored
$result = mysql_query(select planned_activities from diary where date = '08-03-2008');
if(!$result){
echo "Write witty reply to pointless message";
}else{
echo "Laugh at pointless post and continue with your day";
}
Confuscius
08-03-08, 19:38
Does this code go in productdisplay.tpl or shopcore.php? Please advise. :confused:
I understand that php code should not go into tpl files
so it must be the php file,
but I think index.php
cos that is almost empty and could do with something interesting in it.