Answer the question
In order to leave comments, you need to log in
Printing mysql database values?
Hello.
There is a database, any.
It contains the values of the sensor readings and the date when the value was taken.
It is necessary to display these values on the site in the interval that the user selects.
Please, mb who has similar lessons, or you can write/help write the code yourself, help.
ps there were options to make a chart with datarangepicker for lessons, but there is not enough knowledge to adapt it for yourself.
it is also possible when the user enters the date value into the form, and at the output receives the values from the database. I'm really bad with mysql and the database, so I'm asking for help.
Answer the question
In order to leave comments, you need to log in
Here is your request
SELECT *
FROM `TABLE_NAME`
WHERE `date_start` <= '2016-03-11' AND `date_end` >= '2016-04-11'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question