Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9209013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T00:44:35+00:00 2026-06-18T00:44:35+00:00

I am making a bolg website using php, mysql. it features photo uploads, poll,

  • 0

I am making a bolg website using php, mysql. it features photo uploads, poll, event, user comment, private messaging, add fren, news etc. all most all my obstacles are solved by stackoverflow (i am very thankful). this is my 2nd question and here it is:

what is the best way to fetch required information from database? i’v several options in my mind and which i am capable of doing 🙂

  1. store information as a JSON array then parse it with jQuery,
  2. store info as array and parse it at required region with php,
  3. following conventional method – mysql query wherever required.

which method will be faster or if there is any others method you can suggest me will be helpful.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T00:44:37+00:00Added an answer on June 18, 2026 at 12:44 am

    Definitely #3. Storing the data in a way the database can understand allows for more flexibility and makes it easier to use. By storing the data serialized, you can’t do anything with it in the database. If, for example, you wanted just the title and author of all post, with method 3, you could get just those fields. Method 1 or 2 would require you to pull out all of the data, parse it into PHP, and then select only what you want from it. You also couldn’t do things like sorting or getting posts for a specific user. You wouldn’t gain anything from serializing the data before putting it in the database. The data would be roughly the same size and any difference in retrieval speed would be negligible.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Making a simple application, so when the user logs out of Windows, it of
Making my PHP Command line application support Linux and Windows. Currently it has this
Making an app where we want to send a photo to a server along
Normally making a copy of a struct is as simple as just using the
Making sense out of an .MSI verbose trace. I created the .MSI using VisualStudio
Making a simple three question PHP quiz. Each question is displayed on a page
Making a left hand side menu for my website. Should I create a Unordered
making a thumbnail from video using the picker is straight forward. However, when I
making a simple movie review site to practice PHP. on one page ( a
I making a web app in Flex using global coordinates I get the coordinates

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.