Variables whose names begin with @
are arrays. If @sue
is an array, it is different variable from $sue
. However, members of @sue
are selected by $sue[$i]
.
Make WordPress Remember A Login Forever
Build a WordPress Theme in 60 Seconds
Creating a basic WordPress theme can be easier than you might think. Here’s how, in (about) 60 seconds!
Find Windows Log Files With ‘Errors’
The scenario is that we want an overview of our Windows log files. Time is short so we just want a list of the files which contain the most ‘Errors’. We will use PowerShell to achieve this.
Hello World in Node.js
This is how you would script “Hello World” in Node.js
// requiring the HTTP interfaces in node var http = require('http'); // create an http server to handle requests and response http.createServer(function (req, res) { // sending a response header of 200 OK res.writeHead(200, {'Content-Type': 'text/plain'}); // print out Hello World res.end('Hello World\n'); // use port 8080 }).listen(8080); console.log('Server running on port 8080.');
Sort Functions For Arrays in PHP
The elements in an array in PHP can be sorted in alphabetical or numerical order, descending or ascending.
How to Call jQuery Library Functions
As almost everything, we do when using jQuery reads or manipulates the document object model (DOM), we need to make sure that we start adding events etc. as soon as the DOM is ready.
C# Program to Demonstrate Multilevel Inheritance
This C# Program Demonstrates Multilevel Inheritance. Here when a derived class is created from another derived class, then that inheritance is called as multi level inheritance.
Function Overloading in C++
As in Java, a function name may be reused with different parameter types.
PHP Functions
PHP functions are similar to other programming languages. A function is a piece of code which takes one more input in the form of parameter and does some processing and returns a value.