Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Where to use isset() or empty()?

isset() and empty() are the function of PHP which are used to check whether the variable contains some value or not. The major difference between them is:: isset() is used when we want to just check whether the variable is set or not. It returns TR

Simple Javascript form validation

Here i have written JS code to validate form, for example: checking empty fields, checking email, password user-name etc. function valid() { var name = document.getElementById('name').value; var passwd = document.getElementById('password').

Cakephp 3.0: How to read and write Session

How to read and write session: Yes this is the basic question in which I got stuck when I was new to cakephp 3.0. I tried to find out the answer through google, stackoverflow and I finally found the answer to it. In order to read and write sessions

Cakephp 3.0: How to add admin prefix ?

When I was new to cakephp 3.0 then I faced issue adding admin prefix. In Cakephp 2.* it was simple, just write the following lines in core.php: Configure::write('Routing.prefixes', array('admin')); To enable cakephp 3.0 just write the following co

Fetching String of specified length in solr

For fetching a string for a specific value and length, here are 2 ways to do that. First using @Query and another using solr Criteria. In the below code it first searches for the string match and then suing filters we have defined the length of that

How to present a UIViewController from top to bottom in iOS?

When we present the viewcontroller it slides from bottom to top but, if we want to change the slide position then we have to use the animation for the UIView. By using animation we just change the frames of UIView.  If we want to present the co

Flip Effect

Hello Everyone!! In this blog we are going to flip an image. The image has two side:- Front side:- Here is an image. Back side:- Here is some text. When the hover effect is apply to the image block the the back side text will appear. It is done b

Top 5 Digital Marketing Tools You Should Know

  Now in this world it is actually impossible to overstate and then the necessary of digital marketing to the achievement and success of any business. Actually powerful and successful companies in all around the world are carving out virtual

How to add ChildViewController using container view in objc

We can add a ChildViewController using container by following code. -(void)addChildViewController{ UIStoryboard *sb = [UIStoryboard storyboardWithName:@"Main" bundle:nil]; NSString *strClass = NSStringFromClass([YourChildViewController clas

Javascript void operator

The Javascript void operator set the given expression and then returns the output as undefined.   The void operator is employed to amass the undefinable denoting price, typically we tend to use "void(0)" (which is suggests that "

1 469 596
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: