Jump to content

tdnxxx444

Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

tdnxxx444's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Storing in database is better from a maintainability and extensiblity standpoint as its easier to add fields and tables later on, as long as you have you have your database properly designed and normalized.
  2. Looks like you're not connect as any user with any password to any database.  Have you set up these three things on your mysql server?
  3. I want to create a dynamic, generic function that will SELECT data from a mysql table based on various types of dates. The dates could be in the form of: 1. No date 2. A specific date 3. A date range 4. x many months from the current date i.e. mysql statement - EXTRACT(YEAR_MONTH FROM date) = EXTRACT(YEAR_MONTH FROM DATE_SUB(NOW(), INTERVAL x MONTH)) 5. etc -- whatever other variations Anyone have any suggestions on the best way of accomplishing this?
×
×
  • 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.