Friday, 29 January 2016

How to pagination and search,ascending or descending display data With javascript



This Code put Header Part 
=====================================
<link href='https://cdn.datatables.net/1.10.10/css/jquery.dataTables.min.css' rel='stylesheet' type='text/css'>
<script src="//code.jquery.com/jquery-1.12.0.min.js" type="text/javascript"></script>
 <script src="https://cdn.datatables.net/1.10.10/js/jquery.dataTables.min.js" type="text/javascript"></script>
 <script>
$(document).ready(function() {
    $('#example').DataTable( {
        "order": [[ 3, "desc" ]]
    } );
} );
</script>
=====================================
This Code in your Body tag 
<table id="example" class="display" cellspacing="0" width="100%">
        <thead>
            <tr>
                <th>Name</th>
                <th>Position</th>
                <th>Office</th>
                <th>Age</th>
                <th>Start date</th>
                <th>Salary</th>
            </tr>
        </thead>
        <tfoot>
            <tr>
                <th>Name</th>
                <th>Position</th>
                <th>Office</th>
                <th>Age</th>
                <th>Start date</th>
                <th>Salary</th>
            </tr>
        </tfoot>
        <tbody>
            <tr>
                <td>Tiger Nixon</td>
                <td>System Architect</td>
                <td>Edinburgh</td>
                <td>61</td>
                <td>2011/04/25</td>
                <td>$320,800</td>
            </tr>
</tbody>
    </table>
=========================
 then Run Click here

Friday, 22 January 2016

How to Database copy to All table with Database in mysql

Step 1
    Go to your Old Database  then
Step 2
    select   oprations tab
Step 3   Copy database to:
         select Switch to copied database
select Add AUTO_INCREMENT value
select CREATE DATABASE before copying
select  Structure and data


Click Here

 

Friday, 8 January 2016

PayPal gateway has rejected request. Payment has already been made for this InvoiceID (#10412: Duplicate invoice) in magento



Step 1 > Enter your business account and go to Profile
Step 2 > payment Recieving  Preferences
Step 3 >and set Block accidental payments to No.

 Click