Newbie Spellweaver
- Joined
- Jun 13, 2007
- Messages
- 72
- Reaction score
- 0
@ScottDavey: I don't see anywhere on the release "You may not reproduce this work and release it in any way" or the like whatsoever. So until you start doing that, you may not go witch about person X editing the stuff a little and releasing the edited work.
Even if he is "noob", at least he is not saying the work is all his and is giving you credit for basing his edits off of your released website for the public.
Ducking idiot this is my site all you did was change the banner image, Jesus noob fail.
Oh and you changed the background to a grey color? Such hard work. This isn't a release you noob and you will get no credits from this.
Reporting thread
The LIMIT clause controls how many values are displayed. Change the number in red to the desired amount.$res = mysql_query("SELECT CharName FROM characters ORDER BY Level DESC LIMIT 1;");
$res2 = mysql_query("SELECT Level FROM characters ORDER BY Money DESC LIMIT 1;");
$val = mysql_fetch_array($res);
$val2 = mysql_fetch_array($res2);
echo "<div style='top: 200; left: 550; position: absolute; z-index: 1; visibility: show;'>Top Level<br> <b>Name:</b> ".$val[0]." - <b>Level:</b> ".$val2[0]."</div>";
Firstly he credited you, so its fine,
Secondly, he changed a hell of a lot so its barely even your work anymore,
And finally if you dont want your work to be copied and modified...........DONT RELEASE IT DIPSHIT
I get the Ducking point but it's not hugely modified he changed a few text sizes, banner image and background image.
You think your god, but here's the thing. YOUR NOT
The LIMIT clause controls how many values are displayed. Change the number in red to the desired amount.
$res = mysql_query("SELECT CharName FROM characters ORDER BY Level DESC LIMIT 5;");
$res2 = mysql_query("SELECT Level FROM characters ORDER BY Money DESC LIMIT 5;");
$val = mysql_fetch_array($res);
$val2 = mysql_fetch_array($res2);
echo "<div style='top: 200; left: 550; position: absolute; z-index: 1; visibility: show;'>Top Level<br> <b>Name:</b> ".$val[0]." - <b>Level:</b> ".$val2[0]." <b>Name:</b> ".$val[1]." - <b>Level:</b> ".$val2[1]." <b>Name:</b> ".$val[2]." - <b>Level:</b> ".$val2[2]." <b>Name:</b> ".$val[3]." - <b>Level:</b> ".$val2[3]." <b>Name:</b> ".$val[4]." - <b>Level:</b> ".$val2[4]."</div>";
Suppose you change LIMIT 1 to 5, I believe it's adding to the array, so you'd also need to add the extra values in echo"", since it's only displaying the first element in the arrays.
Try that and see if it works.Code:$res = mysql_query("SELECT CharName FROM characters ORDER BY Level DESC LIMIT 5;"); $res2 = mysql_query("SELECT Level FROM characters ORDER BY Money DESC LIMIT 5;"); $val = mysql_fetch_array($res); $val2 = mysql_fetch_array($res2); echo "<div style='top: 200; left: 550; position: absolute; z-index: 1; visibility: show;'>Top Level<br> <b>Name:</b> ".$val[0]." - <b>Level:</b> ".$val2[0]." <b>Name:</b> ".$val[1]." - <b>Level:</b> ".$val2[1]." <b>Name:</b> ".$val[2]." - <b>Level:</b> ".$val2[2]." <b>Name:</b> ".$val[3]." - <b>Level:</b> ".$val2[3]." <b>Name:</b> ".$val[4]." - <b>Level:</b> ".$val2[4]."</div>";