Infinite dynamic Multi-level nested category with Codeigniter and MySQL

In my previous tutorial Infinite dynamic Multi-level nested category with PHP and MySQL , I wrote how to build a nested multilevel categories. So I have again written the same tutorial but this time with Codeigniter 3 framework.

Please follow below steps to find this example working

Prerequisites

Netbeans 8.1
XAMPP in Windows
Codeigniter 3.0.6

Configure XAMPP and Netbeans

From Netbeans IDE go to Tools->Options. Click on PHP. Now on tab “General” browse the file for “PHP 5 Interpreter”. The php interpreter file generally placed inside the <physical drive in Windows OS>:xamppphpphp.exe Continue reading “Infinite dynamic Multi-level nested category with Codeigniter and MySQL”

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”