Valentine Algorithm
I was on myself when writing this :)
<?php
# Valentine Algorithm
# Algorithm to propose to that fine babe
# Author: Adekunle Opeyemi (https://www.opeyemipaul.com)
# Date: Feb 14, 2016
//==========Start A Search for her
include 'connect.php';
$searchForHer = mysql_query("SELECT * FROM people WHERE gender='female' AND attribute='beautiful' limit 1");
if (mysql_num_rows($searchForHer) > 0){
//Start the proposal module
echo 'Hey babe, do you know you\'re the most beautiful person to me?'; //put in your ask out phrase here
//========Now we write the expected answers here and handle them
$herReply = ''; // This shows her reply after your speech has been made
if ($herReply == "positive"){
echo "Oh great! I can't explain how glad I am... What's your phone number?"; //======= Please note---- time to start spending has come :)
} elseif ($herReply == "will_think_about_it"){
echo "Ok, no problem... Just give me your number... I know it will be in the affirmative very soon";
//======= Then you go start spending, calling, texting to show how much you love her :)
} elseif ($herReply == "negative"){
echo "Do you really mean it? But I do love you deeply.. please think about it dear..";
echo "Can you give me your phone number, so I can get to be a better friend to you";
} elseif ($herReply == "I_am_engaged"){
echo "Oh! Alright! No wahala.. We can be better friends then";
exit;
} else {
echo "Ok, I know I have to give you time to think about it"; //This depends on her body speech
}
} else {
echo 'Sorry bro, all ladies are not beautiful! :) :)';
}
exit;
?>
Wintel Admin | VMware Admin | Storage Admin | Azure Admin | Linux Admin
9 年Nice one....
Wintel Admin | VMware Admin | Storage Admin | Azure Admin | Linux Admin
9 年Hmm.... You are simulating that code from experience