Monday, September 05, 2005

Good Bye Msg!



if (!$link = mysql_connect('Hell', 'yesyou', 'g3t|0sT')) {
echo 'Could not connect to mysql';
exit;
}

if (!mysql_select_db('KissAss', $link)) {
echo 'Could not select database';
exit;
}

$sql = 'SELECT Balls FROM MR.P WHERE ASS='BLACK';
$result = mysql_query($sql, $link);

if (!$result) {
echo "DB Error, could not query the database\n";
echo 'MySQL Error: ' . mysql_error();
exit;
}

while ($row = mysql_fetch_assoc($result)) {
echo $row['Balls'];
}

mysql_free_result($result);

?>

#NOTE: oh yeah for the guys out there searching text from google copying stuff i just took it from
php site and changed some text.
#
#Note is to make the search easy BUH !

1 comment:

EyThiMeeThi said...

Mr.Patson's balls?