Many times we see websites that read weather from an RSS feed on another site, here I will show you how to read weather onto your site from Yahoo.
How to get the XML from
To read the weather from Yahoo weather you need to send a request as follows:
where p is the location code. In this tutorial I am using “Calcutta/Kolkata, India”, and as you can see the location code or zip code is INXX0028, if you live in the USA you can just use the ZIP code where you are. Next, ‘u’ is the unit in which the weather must be displayed, I chose ‘f’ for Fahrenheit, but if you want you can also choose ‘c’ for Celsius. Continue reading “Read weather information using yahoo API in PHP, MySQL”
Here is an example how to add more upload file button dynamically
By default only one file upload button is visible to the user. When a file is selected using the ‘Browse’ button then only ‘Attach another file’ link gets enabled for attaching another file. You can attach as many files as you want. Continue reading “More file upload button attachment dynamically using jQuery”
In this tutorial I will show you how to recover deleted items in Microsoft Outlook Express 2010.
Log in to your mail server or mail box
Go to “Folder” -> “Recover Deleted Items”
Now popup opens and you will see all your deleted emails
You can see three icons on upper left corner
You can choose option according to your needs.
In this tutorial I will show how to recover deleted emails using Microsoft Web Access.
1. Log in to your mail server or mail box
2. Click on ‘Deleted Items’ which is on left side
Continue reading “Recover deleted emails in Outlook Web Access”
This tutorial shows how to configure GeSHi(Generic Syntax Highlighter) in Joomla 3.x
First download and install the plugin from here. Originally taken from here. Originally taken from tutorial
After installation the plugin has to be enabled. So do it here
Login into your website admin and go to Extensions > Plugin Manager.
Look for Content – Code Highlighter (GeSHi) and enable it. Done! Continue reading “How to configure GeSHi(Generic Syntax Highlighter) in Joomla 3”
This tutorial shows how to create effective pagination in PHP and MySQL.
When there are lots of data need to be shown on a page then the data grows at the bottom of the page hence the scroll appears. Most of the times it becomes very irritating to go to the bottom so pagination comes to rescue. Using pagination the navigation becomes effective and we don’t need to scroll the page at bottom. Using pagination we can go to the first page, nest page, previous page, last page and at a particular page clicking on the links. So this tutorial shows how to create effective pagination in PHP, MySQL. This pagination has first, previous, number of paging links, next and last links. Continue reading “Create an effective pagination in PHP and MySQL”
This tutorial shows an example with commonly used functions on how to connect to MySQL database using PHP. I have used here mysqli_* function to connect the database. I have also written here some most commonly used functions to reduce the efforts. Continue reading “Database connection example in PHP and MySQL”
This tutorial shows how to create nested or hierarchical comment system in PHP, MySQL, jQuery. This threaded comment accepts reply up to maximum of five level depth. If you want to accept unlimited level or customize level of depth then you can modify according to your needs.
Create MySQL table comment. You can use phpMyAdmin or SQLyog to run the below SQL and it will automatically create a table for you.
You may also read Nested Comments using Codeigniter, AJAX
Continue reading “Nested comment system in PHP, AJAX”