
Search In
What is the work of each() function ?
PHP each() function mainly Return the current key and value pair from an array.
Syntax of each() function:
each(array_name)
You can take reference form below example to use of each() function.
<?php
//
Some time you may need to find the day, hour and min and seconds for ex:
*you entered a number 105
and you want 1h-45Min ago*
then you can simply use the following function although you can use your custom function as well depends on the need.
Fu
Export Data to Excel
First get the data in a DataTable and call the below function.
if (dtGetData.Rows.Count > 0)
{
string filename = "ExcelName.xls";
System.IO.StringWriter tw = new System.IO.StringWriter();
If you want to create a dialog which will look like as spinner dialog of single choice in android which will open in button click event than you can create a custom dialog.
Sample code given below :-
You just have to call this method on click even
In terms of publicity or advertisement of an iOS app there is a feature where we can make our iOS app social or can share on facebook.
Accepting a request from a app will direct the person to the Canvas Page URL of the app that sent the Request. For
Slide-Out Navigation is quite popular nowadays. It enhances usability and gives a different look and feel to the app. Apps like Facebook, Path and many others use this feature. Attached with this blog is a nice library called SWRevealViewController t
Most of the apps or games allowed to the user to upload his screen shorts on the server for latter user.
Today I am going to show how to upload screen shot to server in Unity3D.
private string url = "www.mysiteURL";
Texture2D screenShot = Appl
If you need to display the connected Wi-Fi name in your application than you just have put this method getConnectedWiFiName in your utility class and call it whenever you need the Wi-Fi network name.
public static String getConnectedWiFiName (Contex
Block are piece of code introduced in ios 4.0. Block are used to make code cleaner and reduce dependency from delegates.
To use the block first we have to declare the block and then its definition.
Here is the syntax to declare to the Block.
retur
-moz and -webkit along with -o and -ms all are called vendor-prefix
These are the vendor-prefixed properties offered by the relevant rendering engines. (-webkit for Chrome and Safari, -moz for Firefox, -o for Opera, -ms for Internet Explorer).
.ele
