lildamien09 wrote:I got another question for you.. im workin with the leaderboard.. im arraying 100 accounts.. my admin accounts have alot of money.. is there a way to sor by chip rank.. and then sort by title.. so the the admins with the Title admin are put to the bottom.. or possible if Title = Admin then it doesnt show.
for ($i = 1; $i <= $accounts; $i++)
{
if ($api["Title" . $i] <> "Admin")
{
$player = $api["Player" . $i];
$chips[$player] = $api["Balance" . $i];
}
}
Kent Briggs wrote:
- Code: Select all
for ($i = 1; $i <= $accounts; $i++)
{
if ($api["Title" . $i] <> "Admin")
{
$player = $api["Player" . $i];
$chips[$player] = $api["Balance" . $i];
}
}
Kent Briggs wrote:Just added to the API page is this PHP routine that allows anyone to search if a player is logged in and gives a list of the tables where they are currently seated:
[/code]
social wrote:I thought that Players could only play ONE table at a time with PM?
treeman wrote:Notice: Undefined offset: 1 in C:\Program Files\EasyPHP-5.3.2i\www\kplpoker\pokerroom\API.php on line 29
Notice: Undefined index: Result in C:\Program Files\EasyPHP-5.3.2i\www\kplpoker\pokerroom\index.php on line 62
Notice: Undefined index: Value in C:\Program Files\EasyPHP-5.3.2i\www\kplpoker\pokerroom\index.php on line 64
treeman wrote:I have copied every thing as is and still get the error.
Users browsing this forum: Google [Bot] and 3 guests