<?php
$vampist_bday = mktime(0, 0, 0, 2, 22, 1990);
while(1==1){
echo "Jo3 wishes he could be a whore \n";
}
for ($i = 1; $i < 100; $i++) {
echo "No way..";
}
if($vampist_bday > time()){
echo "Jo3 could be the php whore.";
}
elseif($vampist_bday <= time()){
echo "Vampist is the php whore";
}
else{
echo "Wtf? is this even possible?";
}
$mysql = mysql_connect('localhost', 'mysql_user', 'mysql_password');
if($mysql) {
echo "connected...";
}
else {
die("connection error");
}
mysql_select_db("world_of");
$result = mysql_query('SELECT * FROM life WHERE username==vampist');
if (!$result) {
die(mysql_error());
}
else {
while($n = mysql_fetch_array($result)){
$role = $n['user_role'];
}
if($role=="God") {
echo "Vampist kicks arse";
}
else {
echo "Not possible";
}
}
?>