www.webdeveloper.com
Results 1 to 3 of 3

Thread: Use of quotes to access array members

  1. #1
    Join Date
    Aug 2007
    Location
    Leeds, Yorkshire, England
    Posts
    387

    Use of quotes to access array members

    What is the difference between:


    $_POST[name]


    and


    $_POST['name']

  2. #2
    Join Date
    Dec 2005
    Posts
    2,984
    Scroll down to Array's Do's and Don'ts, there's an example with

    $foo[bar] = 'enemy'

    it'll tell you all about it

    http://ca.php.net/types.array
    I've switched careers...
    I'm NO LONGER a scientist,
    but now a web developer...
    awesome.

  3. #3
    Join Date
    Aug 2007
    Location
    Leeds, Yorkshire, England
    Posts
    387
    Thank you. That's re-assuring.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles