Jump to content

Recommended Posts

i cant think of how to do this..

 

basically i want to have links on a page with dates, oct nov dec etc.. and when i click one of the links i want it to bring up data from those months. (i want it to be dynamic so when i add data on the next month it creates me a new link)

 

any ideas what the best way to do this would be?.. not sure if i would need two mysql tables and join them?

Link to comment
https://forums.phpfreaks.com/topic/132200-selecting-data-by-month-from-database/
Share on other sites

I think you are going to have to use a combo of php, mysql, and javascript(ajax) to do what you want to do.

 

You should sit down and write out a data flow chart that describes how data will move within the program, and you will probably answer most of your questions as you do it.

AJAX, not so much.. AJAX is only gonna do what you want and make it pretty while doing it, in a sence of not having to reload the page everytime you do something etc.. With out knowing the full scope I cant answer full well..

 

Such as not knowing what timestamps your using.. or how your intent of storing the data within mysql..

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.