
Search In
Following code will help you to add or delete file from document directory.
-(NSString *)saveFileWithOldName:(NSString*)oldNameStr
{
NSArray *dirPaths;
NSString *docsDirs;
NSString *tempStr2;
dirPaths = NSSearchPathForDirectoriesInDo
Follow these two methods to save or delete your .caf file from NSDocumentDirectory.
-(NSString *)saveFileWithOldName:(NSString*)oldNameStr
{
NSArray *dirPaths;
NSString *docsDirs;
NSString *tempStr2;
dirPaths = NSSearchPathForDirect
In jQuery not() method, we set a criteria. Elements that match the criteria are expelled from the selection, and those do not match will be returned.
Below is the syntax of jquery filter method:-
selector.not( sele
Error Code : 1005
Can't create table 'DatabaseName.#sql-9cc_1' (errno: 150)
(0 ms taken)
After searching a lot i have got solution for the above problem while i was adding FK to a column.
The error was because of different MySQL engine. There are di
Animation in jquery is used for creative designing and give an amazing view to the user. A wide range of effects is possible using jquery animate function, here I am showing you a simple line of code example that will provide to a text and div, new l
Here we will see example of how we can pass data using closure function.As we've seen how to create a closure, let's see how we can use them.
When we pass a callback function to the PHP usort() function, and usort() calls our callback, the callback
If you are looking to rotate an image that is selected image from device then please go through the following steps:-
Step 1:- select image from gallery to which requires rotation
Bitmap bitmapImage;
File fpath;
String root=Environment.get
Finding largest number in an array:
To find largest number in an array first user will enter the length for the array and then the user will input the elements for the array. There is a max variable taken in the program which is assigned 0th index
why we use array_values() function in php ?
The array_values() function use for returns an array which have all the values of an array.
you can see below example:
<?php
//firstly create a array of a city detail
$Citydetail=array("cityname"=&
Sometimes we require to print more than one copies of any report for example an invoice which may have two or three copies, one for customer, one for salesman and one for Accounts department or a payment voucher to be printed twice.
I got the same
