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

Search In

Php mail function if statement

  I want to use another if statement in below mail function with failure message. so when mail will not sent it can display failure message on the screen <?php if(isset($_POST['submit'])){ $to = "Test@gmail.com"; // this is your Emai

How to Convert Parallel Loop in Matlab to Python?

    T = 10 N = 100 % number of tasks parfor i = 1:N % initialize "t" for each "i" t(i) = 2; % keep track of t(i) for each "i" while t(i) < T x(i) = i*2;

Setting rails locale from domain name in rails for internationalization

Rails Internationalization : Setting locale from Domain Name For translating your application to other language, you can set I18n.default_locale to your locale in application.rb or in initializers as I told in my previous blog Configuring i18N Api

Reverse a Singly Linked List in linear order of time

You can reverse a Singly Linked List in linear order of time by implementing the following iterative approach, there are other recursive approaches are also available. But for the sake of simplicity I am implementing the iterative approach only, as

LOOPS IN JAVASCRIPT

LOOPS IN JAVASCRIPT A loop allows us to repeat or execute a set of statement multipel times, which are written inside a loop. It execute a block of code many times. Just like all other programming languages javascript also support looping concept.

Check whether two strings are anagram of each other in C?

// C program to check whether two strings are anagrams #include <stdio.h> #include <string.h> void quickSort(char *arr, int si, int ei); //Function declared for sorting a string bool areAnagram(char *str1, char *str2) //Function che

SQl Server : Check table existence

A common problem encountered during SQL server development is to check if a particular table exists or not. There are different approaches to solve this problem and in this blog we will list out these approaches. For illustration purpose we will be u

Coin exchange problem solution Implementation in Java

Hi, In this blog I tried to provide an efficient solution for a famous coin exchange problem using dynamic problem in bottom up approach whose time complexity is O(mn). Problem Definition In coin exchange problem you can think of a coin v

How to check device network in Phonegap

Cordova provides cordova-plugin-network-information that checks the cellular and wifi connection of the device and also it can check the internet connection. Installation: To install this plugin run the following command   cordova plugin add

Basics of IP addressing

What is IP Address ? IP is an address which is given to each and every device in a network. It's a logical address given to devices in a network. It Works in Network layer IP Versions: 1> IPv4 - 32 bits(represented by 0 and 1) - IP a

1 14 156
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: