Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2008
    Location
    Healdsburg, CA
    Posts
    18
    Plugin Contributions
    0

    Default Let's Talk About Arrays

    For some reason, the concept of pulling data from a database and placing it in an array escapes me. Isn't it easier to just pull the entire content from a table? Why place it in an array? And how does the array really work? I've been messing with this stuff for a while, and somehow I just don't get it. How about one of you "Totally Zenned" folks giving a tutorial to us "Newbies"?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Let's Talk About Arrays

    What is it you are trying to do?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2008
    Location
    Healdsburg, CA
    Posts
    18
    Plugin Contributions
    0

    Default Re: Let's Talk About Arrays

    It's not so much about what I am doing as it is about understanding a concept. I am building a database containing a lot of stuff. Extracting the data is where I have questions. I can extract all of the database content and reference the data, or apparently put it in an array and pull it out of the array. What's the difference? I am trying to understand the concept. This forum doesn't have a place for people to ask extremely basic questions like this.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Let's Talk About Arrays

    This forum is more about Zen Cart questions and not about php/mysql conventions.
    You are correct in your thought but will bloat code calling each table item and arrays allow all predefined items to be called using one variable

    You might try sprucing up here
    http://www.w3schools.com/php/php_arrays.asp
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jan 2008
    Location
    Healdsburg, CA
    Posts
    18
    Plugin Contributions
    0

    Default Re: Let's Talk About Arrays

    Thanks man!

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,721
    Plugin Contributions
    124

    Default Re: Let's Talk About Arrays

    For the record, I think Experts Exchange is well worth the money. http://www.experts-exchange.com/
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. Hello,have any one let me know where is the shop news file and about us file
    By gueston in forum Customization from the Admin
    Replies: 2
    Last Post: 30 May 2009, 07:34 AM
  2. Replies: 8
    Last Post: 27 Aug 2008, 01:07 AM
  3. Talk about newbie questions!!!!
    By Fanciful in forum General Questions
    Replies: 8
    Last Post: 12 May 2006, 03:25 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR