Code Snippets Interview Questions
Questions Answers Views Company eMail

How can get current system time continuously without refresh of page?

1 6904

What is difference between in_array and array_search?

TCS,

1 3255

I have array like $array = array(1, "hello", 1, "world", "hello"); if i want the following output then how can i do this? Array ( [1] => 2 [hello] => 2 [world] => 1 )

NIIT,

2 2053

If i have an array $string = array(1,2,6,2,9,6,7,3,1,2); How can i get only unique values from it? Array ( [0] => 1 [1] => 2 [2] => 6 [4] => 9 [6] => 7 [7] => 3 )

2 1683

what is main difference between array_push and array_pop?

1929

Which framework is best in php among Smarty, Cakephp, Joomla, Drupal, Zend or Something else...? If any then Why?

HCL,

2 5316

How can get all database name using Php and Sql?

NIIT,

872

Is there any static classes are in java give some examples

654

How can i know that how many user are visited to my page in php?

NIIT,

775

How can restrict user to type upto 8 characters in textbox in php?

696

Which keyword is alias for count keyword in php?

756

Is there any way to open notepad within php?

793

How can export database using php code?

648

How can import database to mysql using php code?

Wipro,

1 1709

What is used of serialize and unserialize in php?

1486



Un-Answered Questions { Code Snippets }

write a program that reverses the input number of n.Formulate an equation to come up with the answer.

5557


1+1/2!+1/3!+...+1/n!

814


Find out the list of roles which gives access to all t-codes in SAP? Thanks in advance.

1016


can any body give me answer to this question please? please give me code in cl with the folling specifications. 1.Accept 2 parameters-date and date type 2.If date type is J then convert date to *MDY format 3.If date type is M convert date to *JUL format 4. Send a program message with the value of converted date? Please give me the answer.Because im practicing in my house.Im taking trining on AS/400.

1063


Write a (n) algorithm that sorts n distinct integers, ranging in size between 1 and kn inclusive, where k is a constant positive integer. (Hint: Use a kn-element array.)

2614


how to copy form data between different pages

807


How can export database using php code?

648


Code for Easily Using Hash Table?

1255


Write a function that takes an unsorted integer array, and returns a three element subset whose sum is zero.

337


how to track links visited in google using iframes

1153


How to create Date method to set the date in Ms Access

781


write a code that user can choose/alter Body Text Size

767


Given a N by N matrix of both negative and positive integers. Write an efficient algorithm to find the sub-matrix with the largest sum of all the contained elements.

372


Who could write how to find a prime number in dynamic array?

837


Performance Algorithm A performs 10n2 basic operations and algorithm B performs 300 lg n basic operations. For what value of n does algorithm B start to show its better performance?

3825