Jump to content

Recommended Posts

I have just been given another challenge and am probably going to post a question on the forums again, because quite honestly I have no idea where to start. But I know people dislike you posting if you have no code at all.

 

Maybe you know where I can start? There's basically two things I wanna achieve here:

 

1. Create a Report Page (Not sure how to make this "Fancy")

  • I want the user to select a date range using a calendar input, and then click on submit.
  • It should then extract the data from the MySQL database to an excel file.
  • (Writing the actual select query I am ok with)

2. To automate an extract from the database.

  • Everyday, at say 06h00 a query should run, to extract current month to date data from the MySQL database, attach it an e-mail it.

 

Any help is greatly appreciated.

Link to comment
https://forums.phpfreaks.com/topic/269559-mysqlphp-data-extract-for-user/
Share on other sites

For the calendar input, you could look at jQuery's Datepicker:

http://jqueryui.com/datepicker/

 

To run a script on a regular basis, have a look at "cron jobs".

https://www.google.com/search?q=cron+job

Edited by cyberRobot
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.