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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:39:39+00:00 2026-05-29T10:39:39+00:00

Baisicly what I am looking for is the best was to store data in

  • 0

Baisicly what I am looking for is the best was to store data in either JSON or string formate, as I need to not show the same images again.

The way I am getting the images is by mysql_query ORDER BY RAND(); from there i want the jquery tp store the IDs either in a JSON formate or a string formate which can be done.

What I want to then to is save that is a $.cookies which i know how to do with jquery and send that list of ids to the mysql query and do a NOT IN( ids here ) which means that they will not show those listings.

If someone would tell me the best way to do it either store as json or string that would be great.

If storeing as a string I would need to replace the spaces with commas to allow the NOT IN function to work, I understand this and know how to do it.

Thanks.

  • 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-29T10:39:39+00:00Added an answer on May 29, 2026 at 10:39 am

    You may as well store the values as a comma delimited string in the cookie since the ultimate target is the mySql NOT IN statement and will need to be converted anyway.

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

Sidebar

Related Questions

Okay What im looking to do return all the data a user has already
Im looking for the best approach to takle the following, I have sorted a
Basicly, I need a tool that can draw realtime graphs for a collected data
I need to build a push system in django, basicly its function is to
I've main_layout.xml as a root layout, does not matter it's RelativeLayout or LinearLayout .
I ran into this quite often stated problem but even after looking up nearly
In a attempt to put some more oop in a program i am looking
Scratch this! I have googled my ass off looking for this. 1. Lets say
Basicly, what I need for the program to do is to act a as
basicly I've got an array and want to call the same function for each

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.