Raised This Month: $ Target: $400
 0% 

help with sql


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 08-25-2009 , 14:48   Re: help with sql
Reply With Quote #8

Quote:
Originally Posted by crazyeffect View Post
PHP Code:
<head>
<center>
<body bgcolor="#666666"><font face="Verdana">
<title>Deathrun Shop Stats v3.1.1</title>
<link rel="shortcut icon" href="http://www.crazyeffect.net/tutyX/favicon.ico">
</head>

<?php
    
echo "<div class='center'><img src='http://www.crazyeffect.net/tutyX/drmanager.gif'></div>";

    
$dbUsername "";
    
$dbPassword "";
    
$db "";
    
    
mysql_connect(localhost$dbUsername$dbPassword);
    
mysql_select_db($db) or die("[DrShop] An error has occured!");
    
    
$result mysql_query("SELECT * FROM DeathrunShop_sql");
    
$rcount mysql_num_rows($result);
    
    echo 
"<br><table border='1' cellspacing='0' width='90%' style='text-align: center;'><tr><th>Name</th><th>SteamID</th><th>Shop Points</th></tr>";

    for(
$i=0$i<$rcount$i++)
    {
        
$resultName mysql_result($result$i"name");
        
$resultSteamID mysql_result($result$i"steamid");
        
$resultPoints mysql_result($result$i"points");
        
    
        echo 
"<tr><td><u>$resultName</u></td><td>$resultSteamID</td><td><b>$resultPoints</b></td></tr>";
    }

    echo 
"</table>";
    echo 
"<br><br><br>Deathrun Shop v3.1.1 by tuty (c)";

?>

</center>
</body>
</font>

This looks fine. I think that the plugin has problems.
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:05.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode