
Search In
If you want to debug a large amount of data. You need to create a Log file with the following piece of code.
$file = fopen ( "testfile.txt" , "a+" );
fwrite ( $file , serialize ( print_r ( $_POST , true ) ) );
fopen(): It is inbuilt function which
For doing that we need to create procedure first and also define the repeating interval to call it again
We will create procedure named getnotification from the particular database that gets fired after 3:30 hours on a daily basis.
When we gets
foreach() function provides an easy way to scan arrays & exactly do the same thing like for loop, so this function is said to be PHP foreach loop. foreach loop works only on arrays.
Syntax:
foreach ($arrayname as $value) {}
Example: In the be
statically typed language:
A language in which types are fixed at compile time. Most statically typed languages enforce this by requiring you to declare all variables with their data types before using them. Java and C are statically typed languages.
Identity field is usually used as a primary key. When you insert a new record into your table, this field automatically assign an incremented value from the previous entry.
Ex:
CREATE TABLE Customer
(
ID int IDENTITY,
Class vs Structure in C#
1) Class variables and structure variables are stored in different memory location. Class variables are stored on heap whereas structure variable are stored on stack.
Explanation of how class variable and stru
Every function in JavaScript is an object of Function and in JavaScript, there are many different ways of defining Javascript function. Each of them will do approximately the same thing, but has its own pros and cons. Here we are going to explain how
The function, list() is used to assign a list of variables in one operation only as if they were an array.
In php7.1 list() function will not assign variables in reverse order.
The syntax of the list() function is:
list(
‘Human Resource’ one of the strongest and equally important parts of the corporate life cycle. Many organizations still follow the traditional working way for their HR’s and not even aware of latest as well as innovative business cu
We have an API which returns xml results based on queries, the server is running Tomcat 7.0.53. I've been trying to determine how much time is spent processing and serving the request, and there is a significant amount of time (104ms, on average)
