
Search In
Hi Friends
Whenever we register a user in our registration form we need to check for existence of current email/user name or any unique identification property. You certainly don't want two users to be registered with same email Ids. A
Here we will learn how to replace all the letters of a string by any wild character except the first and the last one with the help of the following string function in php.
strlen(string) : This function returns the length of the string if successfu
To set the camera flash on or off in ios Use the code below:
-(void)setFlashMode:(AVCaptureFlashMode)flashMode forDevice:(AVCaptureDevice *)device
{
if ( device.hasFlash && [device isFlashModeSupported:flashMode] ) {
NSErr
If you want to display the multiple images with animation in UIImageview then use the following code:
Here you can also set the repeat count of the images.
UIImageView* animatedImageView = [[UIImageView alloc] initWithFrame:self.view.bounds];
anim
In this blog, i will explain how to convert quote object to order object using Fieldsets tag in XML config file.
<fieldsets> tag is only found in config.xml files. This tag is used to define attributes (fields) that will be copied from one tabl
if you are using the UIWebview and want to autoplay the video from url then just add the "autoplay=1" at the end of the url.
Here is the code:
NSString *url=@"https://www.youtube.com/watch?v=vs3sVrm_W4o&autoplay=1";
[self.webview l
This article provides the solution for the issue with LOAD DATA INFILE statement. PHP provides a lots of options to import data from text files. I faced this issue while I was trying to import data from a text file (data.txt) into mysql table using &
First of all let us know what is symlink. Symlink creates a symbolic link to the existing target with the specified name link.
In PHP we passed Parameters in the following way:
target: Target of the link
link: The link name.
I want to make a symb
Hello friends, welcome to findnerd. I am writing this blog which will let you know how to check if record exists in Cakephp 2.* . The best way to do is to use Model::hasAny
hasAny( array $conditions null ) : Returns true if a record that meets given
How to check an Ajax request:
I am writing this blog specially for beginners who are learning Cakephp. In order to check whether the request is through Ajax or not. This can be checked by enabling the RequestHandler component in AppController or ena
