Need a little help with php

Results 1 to 9 of 9
  1. #1
    Enthusiast Totor is offline
    MemberRank
    Aug 2006 Join Date
    FranceLocation
    41Posts

    Need a little help with php

    Hi, i have make a little php script with noteblock for change the stats of characters rapidly but i have one probleme with the _int in the character table
    $_int not accept in my php script all other works : str,dex,zyly,cha,level ,...
    but i can't change the value of _int :(
    If anyone know where is the probleme thanks :)

    http://www.reshomeline.info/index/index.txt
    (have change the extension on .txt just for you see the script)

    My Mysql db Turn under Easyphp 1.8

    ps: if anyone know what i need insert in option value for DON'T change the Actually value ^^

    Thank you in advance

    Sorry for bad english :p


  2. #2
    Account Upgraded | Title Enabled! Aprate is offline
    MemberRank
    Mar 2006 Join Date
    HollandLocation
    236Posts
    i will try it for you ;) if it works for me otherwise i will look if i can fix it :)

    btw why dont you just edit the script from srose ? xD

  3. #3
    Enthusiast markbm is offline
    MemberRank
    Nov 2004 Join Date
    MalaysiaLocation
    44Posts
    I think your mistake is here.

    sen='$sen',cha='$cha',int='$_Int',zuly='$zuly'

    it should be _int='$_Int' ?

  4. #4
    Enthusiast Totor is offline
    MemberRank
    Aug 2006 Join Date
    FranceLocation
    41Posts
    i don't know i'm one newbie with php :p but if i insert int that crash the all actions in the script but Without int that work fine

    Without int
    http://www.reshomeline.info/index/index2.txt

  5. #5
    Member sevedrihan is offline
    MemberRank
    Jun 2006 Join Date
    MA USALocation
    94Posts
    For INT wouldn't you need to change both parts of it? In the UPDATE part you'd have _int='$int' , and make sure $int is "int" on the select name. Either way, the $int needs to match your select name I believe. So if you were using $_Int, the select name for that would me _Int. Not sure if that helps or not, but hope it does.

  6. #6
    Enthusiast Totor is offline
    MemberRank
    Aug 2006 Join Date
    FranceLocation
    41Posts
    Wha!! that work now with _int on select name
    i have search 3 days just for one "_" in the select name..lol i'm mewbie on php :P
    Thanks sevedrihan for your help ;)

  7. #7
    Member Darktemplarr is offline
    MemberRank
    Jul 2006 Join Date
    Springfield, Evergreen Tr.Location
    88Posts
    Is that you?

    the MEWBIE?
    rofl

  8. #8
    Enthusiast Totor is offline
    MemberRank
    Aug 2006 Join Date
    FranceLocation
    41Posts
    LOL!
    only 50 HP? :'(

  9. #9
    Member stavcas is offline
    MemberRank
    Nov 2004 Join Date
    israelLocation
    72Posts
    Lololol Omfg!!!!



Advertisement