Code Snippets Interview Questions
Questions Answers Views Company eMail

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

1 7176

What is difference between in_array and array_search?

TCS,

1 3506

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 2141




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 1764

what is main difference between array_push and array_pop?

2060

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

HCL,

2 5476

How can get all database name using Php and Sql?

NIIT,

886

Is there any static classes are in java give some examples

686

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

NIIT,

793

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

717

Which keyword is alias for count keyword in php?

775

Is there any way to open notepad within php?

811

How can export database using php code?

666

How can import database to mysql using php code?

Wipro,

1 1772

What is used of serialize and unserialize in php?

1530







Un-Answered Questions { Code Snippets }

How many digit have a Polaris 1995 300c.c. 2x4 nad how many have a Polaris 2007 300 c.c 2x4? And what site I can check this information???

1372


write a function that reverse the elements of an array in place.The function must accept only one pointer value and return void.

2267


How to get Filename from Path?

299


Code for Presenting Parent/Child Data in a Data Grid Row?

1137


write a java program to create a Frame with three scrolls, change the back ground color of the frame using functions with values of scrolls.

3087


why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?

998


i want run following code on button click of view. i am trying to retrieve data from isc_order_details table and isc_product table. but after retriaval of data i m getting error like FIELD MUST BE ENTERED!! DECLARE m number; n number; CURSOR order_details IS SELECT PRODUCT_ORDER_QUAN,PRODUCT_ID FROM isc_order_details WHERE order_id=:isc_order_master.order_id; amount NUMBER (8,2):=0.0; alert number; BEGIN go_block('isc_order_details'); first_record; m:=:system.cursor_record; last_record; n:=:system.cursor_record; OPEN order_details; --for i in m..n loop FETCH order_details INTO :ISC_ORDER_DETAILS.PRODUCT_ORDER_QUAN,:ISC_ORDER_DETAIL S.PRODUCT_ID; IF order_details%FOUND THEN SELECT order_value,order_date INTO :ISC_ORDER_MASTER.ORDER_VALUE,:ISC_ORDER_MASTER.ORDER_D ATE FROM isc_order_master WHERE order_id=:ISC_ORDER_MASTER.ORDER_ID; SELECT product_desc,product_price INTO :ISC_ORDER_DETAILS.PRODUCT_DESC,:ISC_ORDER_DETAILS.PROD UCT_PRICE FROM isc_product WHERE product_id=:ISC_ORDER_DETAILS.PRODUCT_ID; next_record; END IF; EXIT WHEN order_details%NOTFOUND; END LOOP; last_record; CLOSE order_details; EXCEPTION when NO_DATA_FOUND then alert:=SHOW_ALERT('ENTER_DATA'); Go_Item('isc_order_master.order_id'); END;

1034


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

5476


plz send code for Ecorps in j2ee frontend:J2EE Backend: DB2 Express

1449


Write a function that takes an array of integers and efficiently calculates and returns the Least Common Multiply in python.

338


program to show a progress bar

1293


Give me some tips in c#?

1221


Create a program to read two random data set in two files named data1.txt and data2.txt manifold contains integer numbers, whereas data2.txt file contains the float type numbers. Simpanlahmasing each into 2 pieces of data that is an array of type integer array and an array of type float, then calculate the average numbers in the second array.

1048


How to export 2 datatables of a single dataset to 2 different worksheets of a single MSExcel file ?

1048


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

5597