<html>
<head>
<title>TE homepagé</title>
</head>
<body link="#800000" vlink="#800000" alink="#FF0000" bgcolor="#FFFF99" text="#800000">
<p align="center"><b><i><font face="Trebuchet MS">TycoonEden - Temporary
homepage</font></i></b></p>
<p align="left"><font face="Trebuchet MS">With the T.E.C.C expected to be up and
running by the 1st of May, and the site by the 1st June, we are looking for sites to sign up. We are also
looking for people to join their favourite clan. The site you want to
support MUST be on the list below. Just email the clan owner and me with your
<a href="http://www.tycooneden.com/forum">forum</a> username and, if they accept
I will be able to add you to their clan. </font></p>
<p align="left"><font face="Trebuchet MS">NOTE: This system of emailing is ONLY
temporary. The clan admins will be able to add and delete users from their clan
using online forms. Everything is going to be automated allowing tycooneden
admins to get the rest of the site up and running.<br>
<br>
<table border='1' cellpadding='0' cellspacing='0' style='border-collapse: collapse' bordercolor='#111111' width='90%' id='AutoNumber1' bordercolorlight='#000000' bordercolordark='#000000' height='34'>
<tr>
<td width='16%' height='19'><font face='Trebuchet MS'>Site name:</font></td>
<td width='22%' height='19'><font face='Trebuchet MS'>Site URL</font></td>
<td width='10%' height='19'><font face='Trebuchet MS'>Points</font></td>
<td width='10%' height='19'><font face='Trebuchet MS'>Webmaster</font></td>
</tr>
</HTML>
<?php
/* Connecting, selecting database */
$link = mysql_connect("localhost", "username", "pwl")
or die("Could not connect");
mysql_select_db("tycooneden_com") or die("Could not select database");
$query = "SELECT * FROM clans LIMIT 0,30";
$result = mysql_query($query) or die("Query failed");
while($foo=mysql_fetch_array($result)){
$clan_url=$foo['clan_url'];
$clan_logo=$foo['clan_logo'];
$clan_admin=$foo['clan_admin'];
$clan_admin_email=$foo['clan_admin_email'];
$clan_forum=$foo['clan_forum'];
$clan_name=$foo['clan_name'];
$clan_logo_height=$foo['clan_logo_height'];
$clan_logo_width=$foo['clan_logo_width'];
$clan_points=$foo['clan_points'];
print ("<tr>
<td width='16%' height='14'>$clan_name</td>
<td width='22%' height='14'><a href='$clan_url'>
$clan_url</a></td>
<td width='10%' height='14'>$clan_points</td>
<td width='10%' height='14'>
<a href='mailto:$clan_admin_email'>$clan_admin</a></td>
</tr>
");
}
mysql_close($link);
?>
</table></font></p>
</body>
</html>
Gives the error too many connections as U can see http://www.tycooneden.com