what is the meaning of the code??

Discussion in 'PHP' started by rrn, Mar 22, 2009.

  1. #1
                                                     array	("name"  => "cat_desc",
    									"label" => "Description",
    									"visible" => "t,t",
    									"type"  => "text",
    									"lang" =>"",
    									"extra" => "editor",
    									"help" => ""),
    PHP:
    what is the meaning of the above code??? what does it mean by "visible"??

    smbdy pls give a solution???
     
    rrn, Mar 22, 2009 IP
  2. ads2help

    ads2help Peon

    Messages:
    2,142
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    0
    #2
    It is nothing. It is just an array of strings.

    Let's say it is :
    $items = array   ("name"  => "cat_desc",
                                        "label" => "Description",
                                        "visible" => "t,t",
                                        "type"  => "text",
                                        "lang" =>"",
                                        "extra" => "editor",
                                        "help" => ""),
    PHP:
    Then, $items['name'] carries the string cat_desc
    $items['visible'] carries the string t,t
    and so on.

    - ads2help
     
    ads2help, Mar 22, 2009 IP
  3. rrn

    rrn Peon

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thank you for the solution..now its clear..
    thanks a lot. .. ... .... .....
     
    rrn, Mar 23, 2009 IP