
Search In
In the below example I have described "how to add or merge two array list?". Here I have created two array String a[],String b[], then I have initialize values in array . After this I have created arrayList and merge value Strin
Auto-generate ER Diagrams
Hello friends, I was trying to find a way to create ER Diagram of database. So I was looking for tool through which we can create ER Diagram instead of making flow charts with markers etc. The name of the software i
Hello readers!
In my previous blog I have explained you how you can change number of products displayed per row in WordPress.
So here I will guide you how you can change total count of items displayed per page in WordPress.
Lets take an example.
As
Some times we need to create a custom back button for Navigation Bar in iOS. If you want to create an easy navigational back button instead of creating a view and add that view in navigation bar then use below code to achieve it.
UIButton *backBtn =
You can create your QR Code using the PHP QR Code library. Download the QR Code library and include in your script file.
Example:-
<?php
include "phpqrcode/qrlib.php";
// create your QR Code with new text and display it
QRcode::png("Test QR Co
You can create a method readSMS() as shown below where you can pass date and time to read the sms from that particular date.
private void readSMS(String date, String time) {
// Now create a SimpleDateFormat object.
SimpleDateFormat f
Passing date to the function and returning the time passed or elapsed when it was commented/posted. It is very useful when you have comment section in your website and you want to show how earlier comment was posted.
/**
* Creating the date differ
If you want to get data from dictionary and add them into an array below code will help you,In this blog firstly i have created a NSMutableAarray and after that created a NSArray which contain the value like ram,13 etc then i created a NSMutableDicti
Suppose your page is creating elements dynamically with the class name egSample, you need to bind the event to a parent which already exists.
You need to use the .on() method to implement this task. Here is the syntax of how to use it :-
.on( even
We can create form by using FormHelper class in Cake PHP.
For Example:
Create file register.ctp in (/app/view/users) directory.
<?php
echo $this->Form->create('User', array('controller'=>'users', 'action'=>'login’))
echo $this->