Assalam-o-Alaikum! Once again welcome to my Temperature sensor tutorials series. As you know we are working on DHT11 temperature sensor, previously we successfully completed our sensor programming with MySQL and PHP programming. We added our sensor data into database and then retrieved it using PHP. In today’s tutorial we are going to read multiple sensors and then we will save ... Read More »
Author Archives: Muhammad Faryad
How to Calculate Days, Months and Years in PHP
Assalam-o-Alaikum! Friends today I am going to tell you about an interesting function of PHP that will calculate date difference between two dates. You can find days, months and years between two dates. You can use this function where you need to count days for billing or for the expiration of user etc. For example, you want to calculate days between two ... Read More »
Some Useful Math Functions in MySQL
Assalam-o-Alaikum! Dear visitors today I will tell you about some maths functions available in MySQL. In past, I often used PHP functions to calculate desired values but later I realized that MySQL has powerful functions that calculate data based on given criteria. We are not going to discuss all functions here but some basic and useful functions will be discussed today. ... Read More »
How to Concatenate Single Column Values with MySql
Today we will solve a problem related to MySQL query. Here is a problem:- Let’s suppose you have a table named “Items” and it has three fields and following data:- Id Item_name Price 1 Item 1 10 2 Item 2 20 3 Item 3 30 Now you want to write a query that will get all values from “Items” column ... Read More »
Live Temperature Chart in Arduino with DHT11 Sensor
Hello Friends! Hope you will be fine. Today we are going to learn something interesting. Yes offcourse, really interesting. We are going to make a live graph that will show us Temperature of our home or device in a live graph. For this, we will use HighCharts jQuery library that will generate chart on the screen for us. So let’s ... Read More »
How to save DHT11 Temperature Data into Database with Wemos D1 Mini
Hello friends. How are you?. Today we are going to learn something amazing. In my previous tutorial, you learned that How to get temperature data from DHT11 and show it on the serial monitor, but today we will go ahead and will do something advanced. We will save hardware that we used in our previous tutorial to build a new project. If ... Read More »
How to use the DHT11 Temperature and Humidity Sensor with Arduino!
Hello dear friends. Hope you will be fine. Today we will learn that how to use a DHT (DHT11 version) Temperature and Humidity Sensor. In this tutorial, you will see the result in the serial monitor of Arduino but later I will write some more tutorial for getting the result into the database and then generate the dynamic chart to ... Read More »
Better Way to Manage HTML Tags With PHP
There are many approaches to write your code in nice method but nowadays I am working on html function method to write my code. If your are developing a site which is based on Bootstrap, then I have a good trick for you. Let’s assume that you are using following lines for getting input: [crayon-648334c859412242541652/] And this structure is repeating ... Read More »
English Quaida
Assalam-o-Alaikum! Dear visitors it is my 2nd Quaida for playgroup students. Hope you will find useful it for your child. You can download it from below link:- Note: You have to install MS Powerpoint 2007 or greater to run this file. Here are some screenshots of this program. Read More »
Urdu Quaida
Assalam-o-Alaikum! Dear visitors I have designed a digital Urdu Quaida for Playgroup students. In this Quada your children can learn basic alphabetic of Urdu. I have added sound and images for children attraction. Hope your child will love it. Feel free to contact or comment if you like it. Note: You have to install MS Office Powerpoint 2007 or greater ... Read More »