06-04-2007, 06:11 PM
|
|
|
Do Fun Shit.
Industry Role:
Join Date: Dec 2004
Location: OC
Posts: 13,393
|
Quote:
Originally Posted by fetishblog
I fixed the parse error!
Code:
<?php
function findsex() {
$human = new human;
$tonight = new night;
$excuses = array('Headache','Migraine','Not Today','Menstration');
$num_girl = random(0,count($human->girl));
if ($human->girl[$num_girl]=="stupid")
{
$tonight->sex = true;
}
else
{
$tonight->sex = undefined;
$result=trygetsex();
if ($result==true){
$tonight->sex = true;
}
else
{
$tonight->sex = false;
$number = random(0,count($excuses));
echo $excuses[$number]."<br/>";
}
}
if ($tonight->sex = true) {
echo "<b>Operation Successful!</b>";
return 0;
}
else
findsex();
}
?>
If all you get is a blank screen, then you're not getting lucky. 
|
 
__________________

“ I have the simplest tastes. I am always satisfied with the best.” -Oscar Wilde
|
|
|