[Request] PHP Script

09/12/2008 18:11 Mouse>Pro#1
@Request #Close #Delete
09/12/2008 18:15 keving#2
I use that in my new Website wich is coming soon :)
Before open MySQL Connect with:
Code:
mysql_connect("HOST/IP HERE", "USERNAME" ,"PASSWORD")
Then use the following Code to select the Database:
Code:
mysql_select_db("DATABASENAME");
$res = mysql_query("SELECT count(*) FROM accounts;");
$val = mysql_fetch_array($res);
echo "<td>Accounts: ".$val[0]."<br>";

$res2 = mysql_query("SELECT count(*) FROM characters;");
$val2 = mysql_fetch_array($res2);
echo "Characters: ".$val2[0]."<br>";

$res2 = mysql_query("SELECT count(*) FROM guilds;");
$val2 = mysql_fetch_array($res2);
echo "Guilds: ".$val2[0]."<br>";

$res2 = mysql_query("SELECT count(*) FROM accounts WHERE Status like '8'");
$val2 = mysql_fetch_array($res2);
echo "GM's: ".$val2[0]."</td>";

If it helps use Thanks :)
09/12/2008 18:50 glupkotrup#3
@keving Correct... Also add meta tags into your siggy so it will be a link :D
09/13/2008 08:16 keving#4
Quote:
Originally Posted by glupkotrup View Post
@keving Correct... Also add meta tags into your siggy so it will be a link :D
I know how to add links etc :)
09/13/2008 14:33 MushyPeas#5
Quote:
Originally Posted by glupkotrup View Post
@keving Correct... Also add meta tags into your siggy so it will be a link :D
Those aren't called metatags :x
They are called vBCode (or more generally BBCode)
09/13/2008 20:54 glupkotrup#6
Lol sorry I wasn't thinking much... They are in HTML :p I forgot that this in this site HTML Code is turned off
09/13/2008 23:09 keving#7
And in HTML it dont Meta Tags too LOL
<META TAG>
<meta name="generator" content="vBulletin 3.7.2" />

<LINK>
<a href="google.de">Click me</a>

You see diference :P ?
09/13/2008 23:20 MushyPeas#8
Quote:
Originally Posted by keving View Post
And in HTML it dont Meta Tags too LOL
<META TAG>
<meta name="generator" content="vBulletin 3.7.2" />

<LINK>
<a href="google.de">Click me</a>

You see diference :P ?
spot on :pimp:
09/14/2008 00:04 glupkotrup#9
Guys... You don't understand... Anyways I'll go to bed now (Here is 1 AM)