PHP Code:
$hello=(1000*($Guild[Itemfind]/1000));
$hello2=(700*($Guild[Itemfind]/700));
if(
$User[Level]<'2500'){
if(
$Special==""){
 
$Rand1=rand(1,1000-$hello);
    if(
$User[Networth]=="5"){
    
$Rand1=rand(1,700-$hello2);
    }
}else{
 
$Rand1=rand(1,900-$hello);
    if(
$User[Networth]=="5"){
    
$Rand1=rand(1,600-$hello2);
    }
}
}else{
if(
$Special==""){
 
$Rand1=rand(1,1500-$hello);
    if(
$User[Networth]=="5"){
    
$Rand1=rand(1,1000-$hello2);
    }
}else{
 
$Rand1=rand(1,1400-$hello);
    if(
$User[Networth]=="5"){
    
$Rand1=rand(1,900-$hello2);
    }
}
}
    if(
$Rand1<10)
    {
      
$wowser="2";
      
$Rand=rand(1,24);

      if(
$Rand==1){$Class="Short weapon"$Name="Dagger";
      }
      elseif(
$Rand==20){$Class="Long weapon"$Name="Broken Dagger (G)";
      }


      if(
$User[BankChoice]=="Cas"){

      
$Bonus=($User[Bank]/'100000000')+'.1';

      if(
$Bonus>'1'){
      
$Bonus='1';
      }else{
      
$Bonus='0';
      }

      }

      if(
$Name=="Broken Dagger (G)"){
      echo 
"Congratulations, you found a broken dagger with gold lettering!<br><br>";
      
$Rand=rand(1,10);
      if(
$Rand<"5" || $Rand>"5"){
      echo 
"However, sadly, the dagger's age turned the gold lettering to dust in your hands...";
      
$Name="Broken Dagger";
      }else{
      echo 
"The earth shook, the gold lettering turned bright white, and you read <i> A person which holds this golden dagger has unlimited power...</i>";
      
$Secrand=rand(50,100+$Guild[Itemquality]);
      
$Strength=round($User[Level]/5);
      
$Strength=$Strength+($Guild[Itemquality]*$Secrand);
      
$Constitution=round($User[Level]/5);
      
$Constitution=$Constitution+($Guild[Itemquality]*$Secrand);
      
$Dexterity=round($User[Level]/10);
      
$Dexterity=$Dexterity+($Guild[Itemquality]*$Secrand);
      
$Concentration=round($User[Level]/5);
      
$Concentration=$Concentration+($Guild[Itemquality]*$Secrand);
      
$Intelligence=round($User[Level]/5);
      
$Intelligence=$Intelligence+($Guild[Itemquality]*$Secrand);
      
$Strength=$Strength*2;
      
$Constitution=$Constitution*2;
      
$Dexterity=$Dexterity*2;
      
$Concentration=$Concentration*2;
      
$Intelligence=$Intelligence*2;
      }
      }else{


      
$Rand=rand(1,3);
      if(
$Rand=="1"){
      
$Secrand=rand(50,100+$Guild[Itemquality]);
      
$Strength=round($User[Level]/5);
      
$NewS=round($Strength*$Bonus);
      
$Strength=round($Strength+$NewS);
      
$Strength=$Strength+($Guild[Itemquality]*$Secrand);
      }
      if(
$Name=="Long Sword" || $Name=="Iron Plated Pants" || $Name=="Plate Mail" || $Name=="Iron Helmet" || $Name=="Gauntlets"){
      
$Strength=$Strength*2;
      }
      if(
$Name=="Staff" || $Name=="Wizards Cap" || $Name=="Magic Protectors" || $Name=="Dark Robe" || $Name=="Dark Top"){
      
$Strength=round($Strength*.5);
      }



      
$Rand=rand(1,3);
      if(
$Rand=="1"){
      
$Secrand=rand(50,100+$Guild[Itemquality]);
      
$Constitution=round($User[Level]/5);
      
$NewS=round($Constitution*$Bonus);
      
$Strength=round($Constitution+$NewS);
      
$Constitution=$Constitution+($Guild[Itemquality]*$Secrand);
      }
      if(
$Name=="Magic Protectors" || $Name=="Dark Robe" || $Name=="Dark Top" || $Name=="Wizards Cap"){
      
$Constitution=round($Constitution*.5);
      }
      if(
$Name=="Iron Plated Pants" || $Name=="Plate Mail" || $Name=="Iron Helmet" || $Name=="Gauntlets"){
      
$Constitution=$Constitution*2;
      }



      
$Rand=rand(1,4);
      if(
$Rand=="1"){
      
$Secrand=rand(50,100+$Guild[Itemquality]);
      
$Dexterity=round($User[Level]/10);
      
$NewS=round($Dexterity*$Bonus);
      
$Dexterity=round($Dexterity+$NewS);
      
$Dexterity=$Dexterity+($Guild[Itemquality]*$Secrand);
      }
      if(
$Name=="Long Bow" || $Name=="Leather Range Top" || $Name=="Leather Range Pants" || $Name=="Pigskin Hat"  || $Name=="Vambrances"){
      
$Dexterity=$Dexterity*2;
      }



      
$Rand=rand(1,2);
      if(
$Rand=="1"){
      
$Secrand=rand(50,100+$Guild[Itemquality]);
      
$Concentration=round($User[Level]/5);
      
$NewS=round($Concentration*$Bonus);
      
$Concentration=round($Concentration+$NewS);
      
$Concentration=$Concentration+($Guild[Itemquality]*$Secrand);
      }
      if(
$Name=="Magic Protectors" || $Name=="Dark Robe" || $Name=="Dark Top" || $Name=="Wizards Cap"){
      
$Concentration=$Concentration*2;
      }
      if(
$Name=="Long Sword" || $Name=="Iron Plated Pants" || $Name=="Plate Mail" || $Name=="Iron Helmet" || $Name=="Gauntlets"){
      
$Concentration=round($Concentration*.5);
      }


      
$Rand=rand(1,3);
      if(
$Rand=="1"){
      
$Secrand=rand(50,100+$Guild[Itemquality]);
      
$Intelligence=round($User[Level]/5);
      
$NewS=round($Intelligence*$Bonus);
      
$Intelligence=round($Intelligence+$NewS);
      
$Intelligence=$Intelligence+($Guild[Itemquality]*$Secrand);
      }
      if(
$Name=="Staff" || $Name=="Wizards Cap" || $Name=="Magic Protectors" || $Name=="Dark Robe" || $Name=="Dark Top"){
      
$Intelligence=$Intelligence*2;
      }
      if(
$Name=="Long Bow" || $Name=="Long Sword" || $Name=="Iron Plated Pants" || $Name=="Plate Mail" || $Name=="Iron Helmet" || $Name=="Gauntlets"  || $Name=="Leather Range Top" || $Name=="Leather Range Pants" || $Name=="Pigskin Hat"  || $Name=="Vambrances"){
      
$Intelligence=round($Intelligence*.5);
      }
      
      }


        
$Owner=$User['ID'];
        
$Base=round($Strength+$Constitution+$Dexterity+$Intelligence+$Concentration);
        
$Worth=round$Base*100);
        
$Item="Name: $Name <br />Worth: $Worth <br />Class: $Class <br />-----<br />";

        echo 
"<p align=right>";
        if(
$Strength>0)
          
$Str="Strength + $Strength <br />";
        if(
$Dexterity>0)
          
$Dex="Dexterity + $Dexterity <br />";
        if(
$Constitution>0)
          
$Cons="Constitution + $Constitution <br />";
        if(
$Intelligence>0)
          
$Int="Intelligence + $Intelligence <br />";
        if(
$Concentration>0)
          
$Conc="Concentration + $Concentration <br />";
        echo 
"</p>";
        
$Class=str_replace(" ","%20",$Class);
        
$User3=mysql_fetch_array(mysql_query("select * from Users where ID='$Player'"));
        
$Button="<form action=\"Frame1.php\" id=\"form1\" target=\"frame\" method=\"post\">
                 <input class=\"button\" type=\"submit\" value='Take item' onclick='Disable(1)' id=\"Button\">
                 <input type=\"hidden\" value=\"
$Strength\" name=\"Strength\">
                 <input type=\"hidden\" value=\"
$Constitution\" name=\"Constitution\">
                 <input type=\"hidden\" value=\"
$Dexterity\" name=\"Dexterity\">
                 <input type=\"hidden\" value=\"
$Intelligence\" name=\"Intelligence\">
                 <input type=\"hidden\" value=\"
$Concentration\" name=\"Concentration\">
                 <input type=\"hidden\" value=\"
$Name\" name=\"Name\">
                 <input type=\"hidden\" value=\"
$Worth\" name=\"Worth\">
                 <input type=\"hidden\" value=\"
$Owner\" name=\"Owner\">
                 <input type=\"hidden\" value=\"
$Class\" name=\"Class\">
                 <input type=\"hidden\" value=\"
$User3[Wisdom]\" name=\"Wisdom\">
                 </form>"
;

      } 
People are finding items with MASSIVE stat gains. For instance, 5 million on one stat at level 8000. The items include more than a dagger and a broken dagger (g) i was just trying to compact it a little for easier reading. Please respond because people are abusing massive stats left and right! Btw, i know that I need quotes and stuff that I am not using, but please only tell me to add them if the quotes make a difference in why people are getting these massive stat items.