
Search In
Joomla works on Positions. It basically divides the page into different parts that is known as positions. Module are assigned to those positions. To display the module positions you required to follow the following points:
Login to the backend of t
Sections and Categories:
Sections and Categories in Joomla are used to organise or manage the articles. A section have one more categories and a category have one or more articles assigned to it. An Article in Joomla is associated with exactly one c
PHP have some magic methods that you can use in OOP (Object Oriented Programming). All the magic functions must be identified with twice underscores (__) prefix and they work as interceptors that will run when certain required conditions are met.
F
If you need something like all of your's html pages to be run like php files you can do the steps below:-
Step 1
Create a .htaccess file on your root.
Step 2
And add the line below
AddType application/x-httpd-php .html .htm
Or if you are using
sort()
sort() method is used to sort the elements of an array in ascending or descending order. The elements of array sort as strings (in alphabetic and ascending order), by default.
Example:
var names=[garry, john, anny, harry];
names.sort();
the horizontal alignment of a text can be set by using this property
we can aligned the Text to center or to the left or right, or justified.
Example
h1 {
text-align: center;
}
p.date {
text-align: right;
}
p.main {
text-align: justi
If you want to know weather the session is already begin or not in PHP then, you can use of the syntax from PHP manual
see the example below
if (!isset($_SESSION)) session_start();
2.
And in case you are using PHP < 5.4 you have to the code
Interpreter
Translates one statement of a program at a time.
The time it takes to interpret source code is very less.
Interpreter program works line by line.
Error is reported as soon as first error is encountered
Example of languages that makes use
The code example of this keyword in Javascript
var fullname = 'David';
var obj = {
fullname: 'john mars',
prop: {
fullname: 'Brett',
getFullname: function() {
return this.fullname;
}
If you declare a method that takes two parameters, on This method call , you need to pass two parameters along with it.
But, Ruby facilitates to declare methods that can work with a variable number of parameters.
Example
def evon (*t)
puts "
