
Search In
There are many way to check image extension before uploading.
But "in_array()" function it is very useful way to check image extension when you are uploading a lots of extensions to validate.
if the "in_array()" function fails, this mean conditio
ASP.NET MVC TempData object is used to share data between controller actions.It is a dictionary object derived from TempDataDictionary.
The value of TempData persists until it is read or until the current user’s session times out.TempdData can be us
Welcome to FindNerd. Today we are going to discuss the function array_pad which is used to build another array by specifing the size of the array and value to be added.
You can take an example for the same. Please have a look.
<?php
$base_arr = a
In parent level class we have to go in python file and add some function and script.
In below example I have written Python script to Include only parent level class. you can use below python code in .py file :
def addMaterialsRecursive(components,
JavaScript String toUpperCase() method : The toUpperCase() method is used to convert the string to the upper case. It returns the new string as in upper case letters. It doesn't change the original string.
Syntax of toUpperCase() method :
&n
JavaScript String split() method : The split() method breaks the string into array of strings for a given expression. The string breaks from every point where the expression matched. For example if we give the blank “” expression then it will break t
Date play an important role in any project. We have to change date format according to our need. If we are using PHP 5.2 and lower then for changing date format we have to parse the elements (year, month, day, hour, minute, second) manually using sub
Welcome to FindNerd. We are going to discuss the finally block in php. We use it with Exception handling. Are you familiar with exception if not then check our
exception based blog Exception concept for help. finally block run always whenever code ex
What Is Test Harness ?
Test Harness is also recognized as automated test framework. This test framework is generally utilized by the programmers or developers.Test harness supplies drivers and stubs to the developers. Developers utilized these to re
JavaScript String toString() method : The toString() method to return the string object, means we can simply say that it is used to casting the primitive object to the.
Syntax of toString() method :
string.toString()
Example of toString() metho
