Results 1 to 1 of 1
  1. #1
    Join Date
    Nov 2004

    Question Unanswered: MDAs vs. MySQL table, what's fastest?


    I have a non-changing MySQL table with 7 fields and 150 rows. I query it from several php pages (it's a website), about once per page.

    Because nothing is changing in this table I'm wondering if I should turn it into a multi-dimensional array instead that I can include. I have created an MDA, and it turned out to be 23 kb. It seems a bit much to me, but I have little experience in this field (I just started learning PHP last spring). What is fastest? Is it ok to use large MDAs like this one?

    Edit: Thought I'd add that I won't be doing many searches from this array, mostly just getting information that I know where is.

    - Fro
    Last edited by Fro27; 11-04-04 at 17:56.

Posting Permissions

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