Char or something that problem

Results 1 to 5 of 5
  1. #1
    RageZ Hell kekku500 is offline
    MemberRank
    Nov 2006 Join Date
    EstoniaLocation
    672Posts

    Character Table Problem

    Look pic

    got any idea how fix it?

    this is that code
    <table width="730" border="1" bordercolor="#A0A0A4">
    <tr>
    <td><em><strong>Change Character Bounty</strong></em></td>
    </tr>
    <tr>
    <td><FORM METHOD=POST ACTION="<?php echo $_SERVER['PHP_SELF']; ?>?act=changebounty">
    Char Name:
    <input name="charbuser" type="text" id="charbuser" />
    Bounty:
    <input name="userbounty" type="text" id="userbounty" />
    <input type="submit" name="Submit7" value="Change Bounty" />
    </form>
    </td>
    </tr>
    <tr>
    <td>Result:
    <?php
    if ($_GET['act'] == 'changebounty')
    {
    $charbuser = anti_injection($_POST['charbuser']);
    $bounty = anti_injection($_POST['userbounty']);
    if (valida(Array($charbuser,$bounty)) == true)
    {
    $query = mssql_query("SELECT * FROM Character WHERE Name='$charbuser'");
    if(mssql_num_rows($query)<1){
    echo "Character Doesnt Exists!";
    } else {
    $sql=mssql_query("UPDATE Character set Bounty='$bounty' WHERE Name='$charbuser'");
    if ($sql) echo "Changed $charbuser Bounty to $bounty."; else echo 'There is a problem.';
    }
    }
    }
    ?>
    </table>
    Last edited by kekku500; 27-04-07 at 08:06 PM.


  2. #2
    RageZ Hell kekku500 is offline
    MemberRank
    Nov 2006 Join Date
    EstoniaLocation
    672Posts

    Re: Char or something that problem

    Help

  3. #3
    RageZ Hell kekku500 is offline
    MemberRank
    Nov 2006 Join Date
    EstoniaLocation
    672Posts

    Re: Char or something that problem

    Please anyone can help?

  4. #4
    RageZ Hell kekku500 is offline
    MemberRank
    Nov 2006 Join Date
    EstoniaLocation
    672Posts

    Re: Char or something that problem

    anyone cant help me?

  5. #5
    Apprentice Z4pp0r is offline
    MemberRank
    Nov 2006 Join Date
    Sweet Sweet BelgiumLocation
    14Posts

    Re: Char or something that problem

    Lol, chill out .. i have the same problem, that was the error i meant in that other post btw..
    The admin panel just doesn't work ..

    GrtZ^



Advertisement