
February 14th, 2007, 12:58 AM
|
|
Registered User
|
|
Join Date: Apr 2007
Posts: 22,309
Time spent in forums: < 1 sec
Reputation Power: 24
|
|
|
echo "Valentines Day";
php Code:
Original
- php Code |
|
|
|
<?php $valentine = 0; $youSay = "no"; $flowersAndCandy = 1; if ($flowersAndCandy == 1) { $youSay = "yes"; } else { echo "Didn't you get the flowers? <br>"; } if ($youSay == "yes") { $valentine = 1; } else { echo "Why don't you want to go out with me? <br>"; } if ($valentine == 1) { echo "Woohoo! I actually got a date! I mean, uh... <i>what time should I pick you up?</i>"; } else { echo "No, really, why don't you want to go out with me?"; } ?>
|