Mar
7
2013

US States MYSQL Dump Quick Copy

USAMap50StatesMapNames

Copy and paste MYSQL Query in phpmyadmin to generate a table and store all US state with names & abbreviations.

Feb
28
2013

Setting up Codeigniter in Subfolder

codeigniter-lg6

setting up codeigniter can be nightmare with slightest mistake in .htaccess commands. I am pasting htaccess code which works perfectly for quick reference.

Oct
26
2012

How To Create Infinite Scroll Pagination With WordPress

wordpress-must-dos

We will use WordPress’ ajax functionality to make the call for this pagination. First we prepare the basic function for our pagination, please insert the following code to theme’s functions.php

This function will be used to make the call for our pagination, basically we send two variables to this function via ajax, one is the page number and another is the file template we are going to use for our pagination. To enable this […]

Sep
4
2012

How to create a bootable Windows 7 USB ?

step4

Three things required to create a bootable Windows7 are: ISO Files. Magic Disc. Win to Flash. ISO Files: ISO file, which is also known as a disc image, has .iso file extension. It contains a copy of the entire CD/DVD from which it was extracted. It means when you burn an ISO file to a blank disc, you’ll get the same files, folders, and properties as the original disc. This can be downloaded from Torrents […]

Aug
31
2012

Generating a PDF in CodeIgniter using MPDF

ci_logo_flame

Many times we need to generate reports in our applications it may be in the form of charts, excel sheets, or PDF. I assume that you are at an intermediate level and able to generate the report in HTML form and now only facing problem to convert it into PDF format. Here we are going to Generate a report in PDF format. There are many libraries available for these purpose like FPDF, PDF etc. In […]

Aug
28
2012

Extract Youtube And Vimeo Video ID From Link

YouTube-vs-Vimeo

Sometimes we’re having problem to get video id from link to embed video in iframe, but however we find out temporary solutions but after few weeks we forget that function or method. There’re 2 main video sites youtube and vimeo and now we’ve functions for both youtube and vimeo. you just have to pass video link in function and it returns video id. For Youtube :

For Vimeo :

Jul
11
2012

How to overcome 500 internal server error when installing magento

magento-500

If you are installing Magento and you have uploaded your Magento files to your host and just when you are about to run the Installation wizard, you get “500 Internal Server Error”. This error is because of the inappropriate file permissions.

Jul
10
2012

How To : Get Specific Div From AJAX Response

AJAX With jQuery

Nowadays, We like to use jQuery to submit forms or use AJAX for many small small things, But sometimes we need only specific div to perform action or do something but the problem is AJAX returns full page data in response, getAjax.php :

Suppose you’re calling ajax to getAjax.php from index.html and you want only “.class1″ content in response to append in “#main”, Here’s the code : index.html :

Jul
10
2012

How To : Integrate Arrowchat For Core PHP Website / Application

Integrate Arrow Chat With Core PHP

Arrowchat is one of the powerful tool for chatting between users or friends of website, There’s a easy installation options for many CMS like wordpress, joomla and drupal but they provide a file integration.php for core installation also, You can find this file in “includes” Folder. You need to change in 3 functions : get_online_list get_link get_avatar get_online_list : This function is important because it shows list of online users

Above is the original […]

Jun
8
2012

Remove duplicate rows from a mySQL db table

mysql1

To remove the all the duplicate entries from a particular mysql table, use the below mysql query : Step : 1

What the above query does is, it will create a new table with the filtered data (all duplicate entries were deleted). Note : replace the whole  [COLUMN TO remove duplicates BY] with your column name Step 2: After that delete the old table

Step 3 : rename the new table

Pages:«123456»