
Search In
This blog will help the readers to understand that how ATM machine dispatches the money. Lets have a look on the ATM code in PHP:
<?php
$amount = $_REQUEST['amount'];
$rupees = array(1000,500,100,50,20,10);
$count = array(0,0,0,0,0);
for($i=0;
Hello readers, today we discuss about "How to add a simple jQuery script to WordPress?".
There are two way to add script in our wordpress.
In header.php file, and in function.php file
In header.php file you can put the below line into head section
The best way to clone an object in javascript is to use $.extend(). We can use it in two ways:-
1.Shallow copy
2.Deep copy
1.The syntax for shallow copy is: var newObject = jQuery.extend({}, oldObject);
2.The syntax for deep copy is: var newObjec
Hello Readers ,
If any one enters the wrong URL then how to show our custom error page , follow the below code.
Exception render need to set as an AppExceptionRender.
/app/Config/core.php
Configure::write('Exception', array(
'handler' =&g
To modify the URL without reloading,a pushState method has come in HTML5 which is quite same as window.location but does not refresh or reloads the page.
This method will first check if the browser supports HTML5,then the state object containing the
Below is the C sharp code to connect with the sql data base in .net
usingSystem.Data.Sql;
usingSystem.Data.SqlClient;
// FUNCTION TO CONNECT TO THE SQL SERVER DATABASE
privatevoidconnectToSQLServer()
{
// SQL CONNECTION REPRESENTS AN
Here, in this article when i click on one textbox the corresponding text in this textbox hides, and as soon as i click on another textbox the first textbox text appears.
The following steps are required to make the above task possible
Step1: Downlo
How to use variable argument
Using variable argument in java method can be very important tool . As we can give multiple no of inputs to the methods using variable argument.
The rules to define variable-length parameters in a method defini
How to show Rating Dynamically
If you want to show rating dynamically you can follow the code below. Here phone.rating contains rating and it comes dynamically.
<html>
<div class="rating-block clearfix" funboard-rating rating-value="phon
What is Lambda Expression ?
Lambda expression is an inline delegate introduced with C # 3.0 language. It is an easy way to represent an anonymous method. Lambda is used to write anonymous functions which does not take parameter and which does not re
