Read weather information using yahoo API in PHP, MySQL

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:

http://weather.yahooapis.com/forecastrss?p=INXX0028&u=f

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”

Recover deleted emails in Microsoft Outlook Express

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”

recover deleted emails in microsoft outlook express

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.

How to configure GeSHi(Generic Syntax Highlighter) in Joomla 3

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”

Create an effective pagination in PHP and MySQL

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”

Nested comment system in PHP, AJAX

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”