error of MobTop Script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    error of MobTop Script

    I have installed a MobTop Toplist script, i hv fixed most errors but i am lustly unable to fix a problem that is, when sum adding site or editing site then at the keywords section entering any word it is being replaced by Arrey. Can any1 tell me how can i fix it ?

    #2
    your missing the array number or name

    eg: $string[0]
    or $string["name"]
    Depending on how it is set up in script :P

    Comment


      #3
      Thanx

      Thanx bro, but can u tell me where i can find it ?

      Comment


        #4
        I havent got the script so i cant tell you where :P

        When Calling Arrays you are calling a list of items eg:

        id, name, price

        $result = mysql_fetch_array(mysql_query("SELECT id, name, price FROM example"));

        so id is the first item you are calling ..... however in an array the first item is always 0 and you then count up from 0

        $result[0] is id
        $result[1] is name
        $result[2] is price

        or alternatively you can use

        $result['id'] is id
        $result['name'] is name
        $result['price'] is price

        at the moment you are calling $result which will just show the words array

        $result is array (in this case but $result can be pretty much called any word)

        hope this helps
        Last edited by something else; 06.07.10, 09:09.

        Comment


          #5
          check func.php
          example KhoWap - Trao ??i li

          Comment

          Working...
          X