Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Dekaron > Dekaron Private Server
You last visited: Today at 21:10

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help] fix error PHP

Discussion on [Help] fix error PHP within the Dekaron Private Server forum part of the Dekaron category.

Reply
 
Old   #1
 
insteadof's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 114
Received Thanks: 10
[Help] fix error PHP

Notice: Undefined index: in C:\xampp\htdocs\website\top1rb.php on line 8

Notice: Undefined index: in C:\xampp\htdocs\website\top1rb.php on line 11
how to fix this error help me pls !
insteadof is offline  
Old 05/05/2011, 07:52   #2
 
elite*gold: 0
Join Date: May 2008
Posts: 509
Received Thanks: 1,246
Quote:
Originally Posted by insteadof View Post
Notice: Undefined index: in C:\xampp\htdocs\website\top1rb.php on line 8

Notice: Undefined index: in C:\xampp\htdocs\website\top1rb.php on line 11
how to fix this error help me pls !
Tip #1: .
Tip #2: Delete Xampp as it will cause your server to be hacked.
=Warmonger= is offline  
Thanks
1 User
Old 05/05/2011, 08:18   #3
 
insteadof's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 114
Received Thanks: 10
PHP Code:
<?php
    $msconnect 
mssql_connect("localhost","sa","761989512");
    
$msdb mssql_select_db("character"$msconnect);
    
$plist "SELECT character_name, Reborn FROM [user_character] WHERE Reborn > '0'order by Reborn desc";
    
$pplist mssql_query($plist);

    while(
$list mssql_fetch_array($pplist)){
    if(
$list[''] == "0"){
    
$char "";
    }
    elseif(
$list[''] == "1"){
    
$char "";
    }
    else
    
$char "";
    echo 
$list['character_name'];
    }
?>
help me

can someone help me php code show reborn Top list and number reborn
insteadof is offline  
Old 05/05/2011, 11:49   #4
 
elite*gold: 0
Join Date: Oct 2009
Posts: 193
Received Thanks: 223
First of all i hope that the password and username in the php script is real.
And then do you have a table in user_character called reborn?
lagoni is offline  
Thanks
1 User
Old 05/05/2011, 11:54   #5
 
elite*gold: 0
Join Date: Dec 2010
Posts: 241
Received Thanks: 657
Its not important. This is a Notice which caused because you use a(or in this case two) variables which aren't declared. Your Script should still work fine. If you want to remove the Notice, just write "error_reporting(0);" in the first Line.

And maybe write echo mysql_error(); after $pplist = mysql_query($plist); than you could see the MYSQL Errors.
TehDauni is offline  
Thanks
3 Users
Old 05/05/2011, 11:58   #6
 
elite*gold: 0
Join Date: Oct 2009
Posts: 193
Received Thanks: 223
Well i am not an expert i just read.
This is from the original php file.
PHP Code:
<?php
//--------------------------------------
//      Written by Janvier123
//      Made for DK servers
//--------------------------------------
// THIS ONLY WORKS IF THERE IS A TABLE IN "USER_CHARACTER" CALLED "REBORN"



    
$msconnect mssql_connect("localhost","sa","pass");
    
$msdb mssql_select_db("character"$msconnect);
    
$plist "SELECT TOP 1 character_name, Reborn FROM [user_character] WHERE Reborn > '0'order by Reborn desc";
    
$pplist mssql_query($plist);

    while(
$list mssql_fetch_array($pplist)){
    if(
$list[''] == "0"){
    
$char "";
    }
    elseif(
$list[''] == "1"){
    
$char "";
    }
    else
    
$char "";
    echo 
$list['character_name'];
    }
?>
lagoni is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Ai biết hack phi đội VTC thì giúp mình nha
05/04/2011 - Ace Online / AirRivals - 0 Replies
YH của mình là: sexboy.dizzluv Ai biết hack phi đội VTC thì giúp mình nha. Thank trước !!!:):):):):):):):):):)
Mình rất gả không biết các bạn đã hack như thế nào
11/22/2010 - Ace Online / AirRivals - 16 Replies
Nếu giả sử mình có thể dùng CE với phi đội. Vậy thì cách bug các vẩn phẩm kiểu gì giả sử mình đã biết hết các mã thập lục của các đồ vật trong game. Ai đó có thể hướng dẫn mình bug đồ trong game được không. Mình rất cần và sẽ hậu tạ thỏa đáng.
Có bạn nào đang hack được game này chỉ mình với
01/28/2010 - General Gaming Discussion - 0 Replies
Bạn có thể gửi vào mail của mình là: [email protected] cám ơn bạn nhiều.



All times are GMT +2. The time now is 21:10.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.