jQuery ajax and php to fetch data from a mysql database

In this post we are discussing on ajax and php to fetch data from a mysql database. The main application is that using ajax we can update a page’s content without reloading the page. In order to do that we have to create a php script called example.php.

And here is the sample for example.php
Continue reading

How to display products from a category in magento

In this article we are covering the area of how to display products from a category in magento and this is as easy if you have basic knowledge in magento

you can just write the code given below in the template files and call the template like this in the editor of home page

You can create one in the app/design/frontend/default/your_template/template/catalog/product/new.html

Continue reading