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 6329293
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T17:37:58+00:00 2026-05-24T17:37:58+00:00

i am using php,mysql,jquery. My case is that step 1 : i generate 10

  • 0

i am using php,mysql,jquery. My case is that

step 1 : i generate 10 list items
step 2 : on click of each item more data about that item is to be displayed

As i can get all the data needed from database for the 10 items in step 1 itself ,should I pass all the data as serialized form input with each list item using ajax for step 2 .
OR
should i send a minor part through ajax and expand the data by querying for each onclick event?
Which is the best way to do?

  • 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-05-24T17:37:59+00:00Added an answer on May 24, 2026 at 5:37 pm

    Either way should work it just depends on the amount/ size of the data.

    If you think the extra information is too large or that the page is loading too slow, I would go with the second option of ‘sending the list items and create them first, then when one is clicked use ajax to get its information’.

    If there isn’t a lot of information I would use the first option as this will reduce the time for the extra information to load when a user click the list item.

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

Sidebar

Related Questions

I have a news feed that has been developed using PHP, MySQL, and jQuery.
I am currently using PHP/MySQL and the jQuery timeago plugin. Basically, I need to
building a site using PHP and MySQL that needs to store a lot of
i am using php,mysql,jquery. When a user clicks on save i go to back
Here's my situation: using PHP and MySQL as my backend, jQuery and jsTree for
I'm using jQuery + PHP + MySQL My problem is how to save for
I am trying to get Ajaz to pull data from mysql using a php
I'm getting ready to use the JQuery-based FullCalendar in my online app using PHP/MySQL
I am having some issues returning data from on page, using jQuery, PHP and
i am building a chat room using php/mysql and jquery. I need to make

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.