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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:15:16+00:00 2026-05-25T18:15:16+00:00

I am having my own CMS for my blog-posts. I am using a database

  • 0

I am having my own CMS for my blog-posts. I am using a database which consists of five columns named, 1: id(primary key), title, body, date, author.
What I want to do is to create ARCHIVES for my blog, tell me how to create it using php and mysql?

I am concerned to create a archive like it is used to be on wordpress website pages, I mean i can summaries the posts by date, month and year, which will count the number of posts on particular date. When any user clicks on that date by going in the Archives section, he must be shown all the posts made on that day.

  • 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-25T18:15:17+00:00Added an answer on May 25, 2026 at 6:15 pm

    The archives you’re asking for are just queries to your database to find posts in a specific date range. For example all posts of a specific day, week, month or year. E.g.:

    SELECT post.fields FROM post WHERE post.date fullfills date expression
    

    In SQL to find out if a specific date

    • is a specific date, compare it literally against it
    • is within a month, compare it’s MONTH(date) value
    • is within a year, compare it’s YEAR(date) value

    There is much more you can compare date/time values in SQL, this should give you enough to play around with it on your own.

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

Sidebar

Related Questions

I'm having a bit of a problem. We have our own CMS which is
I am having my own query which is: select Name, count(requests) from cap group
I have 4 CoreData database. Each actually having their own value. But it is
I'm having somewhat theoretical question: I'm designing my own CMS/app-framework (as many PHP programmers
Consider two tables transaction and category each having their own ID and information. A
I'm looking to export data to excel from Delphi without having to own a
Having two forms, each in it's own jQuery UI tab, how can I post
I'm creating my own dictionary and I am having trouble implementing the TryGetValue function.
We're having sporadic, random query timeouts on our SQL Server 2005 cluster. I own
I remember reading somewhere that you can provide your own icons without having them

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.