difference between window.onload() and $(document).ready()

12 years ago

window.onload()the main difference is that document.ready() event gets called as soon as your DOM is loaded. It does not wait…

difference between remove() , hide(), empty.

12 years ago

empty It will remove all child element of selected divhide It will only hide from for.removeIt will remove selected element…

Uploading files with PHP

12 years ago

Upload an image or file to your server without using your FTP. Step 1: Open a web editor, then paste…

PHP send email with image attachment ?

12 years ago

How to send Email attachment using core php email function. Here we have created a new example where you can…

How to use constant variable?

12 years ago

Once you declared constant variable you just need to include that file and use variables<?phpDEFINE('PATH','http://www.google.com');echo PATH;?>output http://www.google.com

How to redirect first page to another page?

12 years ago

Here is a simple example how to use header() function to redirect page from one page to another. <?php//Redirect page…

how to store and retrieve array from Session variable using php?

12 years ago

Here is simple code to illustrate use of session to store array that can be used in other script.<?phpsession_start();$_SESSION['type'] =…

How to find checkbox checked using jquery?

12 years ago

In Jquery is a very easy solution to check checkbox selected or not. For that, you have to first know…

How to Upload Image using PHP?

12 years ago

Here you can learn Upload Image and at a same time information stored into database.<?php//define a maxim size for the…

PHP Interview questions and Answers

13 years ago

Today, this article will walk you through the most commonly asked PHP interview questions and answers for freshers and experienced…

how to hide and show content using jquery?

13 years ago

Very basic example how to toggle on one button click. Lets try it. You will enjoy it. <script src=”http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js” type=”text/javascript”></script>…

Store Procedure

13 years ago

Reduced network traffic and latency, boosting application performance. Stored procedure execution plans can be reused, staying cached in SQL Server’s…