
Search In
The SplFileObject class provides an object oriented interface for a file.
$file="upload_file.csv"; //file to parse
Steps:
1) Create SplFileObject class object to the csv file.
$srcFile = new SplFileObject($file);
2)Now loop till end of file f
Error after running Maven install
Error: Unable to locate the Javac Compiler in:
C:\Program Files (x86)\Java\jre6..\lib\tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most
Polymorphism in Java
OOP's a very important jargon in the programming world, and many of us are familiar with this word, Object oriented Programming. Polymorphism is a main pillar of OOP,s by definition it is the ability of an object to take on
We can use config.php in cakephp to define constant which need to be used in our whole project example we have different role id for different users.We can define those user corresponding to their role id and can easily access them through out the p
ASP.Net Web API.
Default templates for new project is enhanced.
Templates for Mobile Projects.
New Display Modes feature.
JQuery Mobile, the View Switcher, and Browser Overriding.
Task support for asynchronous controllers.
Azure SDK.
Database migra
Following code will help in you to check the network availability for 3G and 4G connection
const char *host_name = "google.com";
BOOL _isDataSourceAvailable = NO;
Boolean success;
//Creates a reachability reference to the specif
Hello Friends,
In the era of new HTML Concepts or platforms like- Bootstrap, Foundation. We are using these platform to make our HTML more elegant and in a responsive Form.
Today I am adding something for Foundation CSS platform. Lets have a l
Both onclick and addEventListener javascript function will work but sometimes it creates problem for developers to understand what the exact difference of these two's are.
var h = document.getElementById('a');
h.onclick = function1;
h.onclick = func
Try the below mentioned points to make it work properly
Delete all files in "Temporary ASP.NET Files" Folder, "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files".
Version number(v4.0.30319) will be change, based on the installed
In this tutorial we will learn how to sort the elements of an array on the basis of the keys or values as per
the requirement.We will discuss the following sorting functions with example:
sort()
rsort()
asort()
ksort()
arsort()
krsort()
sort(
