Archive for September, 2009

JavaScript Interview Questions and Answers

Here are few JavaScript interview questions and answers:
How do you delete the last element of an array in JavaScript?
array_object_variable.pop();
The pop() method in JavaScript will delete the last element of the array. Whereas the push() method will add a new element at the start of the array.
How do you get the random number between 0 and [...]

Features in PHP 5.3

The much awaiting php version PHP 5.3 has been released.  The important features of PHP 5.3 version are:

‘goto’ lable for jumping
Namespaces supports for PHP Classes.
Closures or Anonymous function same like javascript/jQuery anonymous functions.
garbage collection support
And much more….

You can see the php 5. 3 release version here.

Case Sensitive Search in MySQL

By default mysql searches are case insensitive, that is from the following table:

cms
description
rating

Joomla
Joomla is an open source cms with nice design
3

Drupal
Drupal is an open source CMS framework based on MVC architecture
4

This query:
SELECT * FROM `table` WHERE `cms` LIKE ‘%JOOMLA%’
will fetch the first row of the records. If we want to case sensitive select, we can [...]

Advanced PHP Interview Questions

What is the difference between PHP running as a ‘module’ and as a ‘CGI’?
While php running as a module, the php settings from php.ini file are loaded into memory, and it will be available for each page from memory only.
While running as a CGI mode, the web server will load the php.ini file each time. [...]

Template Monster 10% Discount

Get 10% discount on template monster web templates including css themes, drupal templates, wordpress themes, joomla templates, real estate templates, magento templates, oscommerce templates, zencart templates and php nuke themes.
By using this 10% template monster discount code, we can get 10% discount from the total price in template monster total purchase.