1 2 3 4 5 6 7 8 9 10 |
<?php // Array $myArray = array("bird", "dog", "cat", "horse", "lizard"); // Get the 2 first elements $output = array_slice($myArray, 0, 2); // Result // This will give an array with elements : "bird", "dog" ?> |
Users of Windows environments often use the PuTTY client for their connections with Linux, it allows them to have direct access to the SSH server to perform bash command line.
Such access facilitates surely the task for network administrators, developers or even the webmasters.A command line that runs in a few seconds often avoids long working hours.
In this article I will present 10 essential features to use when developing a website with Joomla CMS, they can be a good source for a Joomla novice developer, which will enable him to know best practices to use in such project.
Take into consideration that these tips are tested in version 1.5 of Joomla, and can more or less do not work into the next version 1.6.