Code Snippets Interview Questions
Questions Answers Views Company eMail

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

1 6783

What is difference between in_array and array_search?

TCS,

1 3126

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 2012

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 1654

what is main difference between array_push and array_pop?

1870

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

HCL,

2 5201

How can get all database name using Php and Sql?

NIIT,

850

Is there any static classes are in java give some examples

641

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

NIIT,

765

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

682

Which keyword is alias for count keyword in php?

746

Is there any way to open notepad within php?

782

How can export database using php code?

634

How can import database to mysql using php code?

Wipro,

1 1667

What is used of serialize and unserialize in php?

1457



Un-Answered Questions { Code Snippets }

can any one give me code to keyed a flat file and used chain in RPGLE to search any item

741


how to Scroll a DIV content

1210


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.

3006


how to determine which Mouse Button was pressed

923


How to access oralce10g data from server to client in LAN?

1112


How to add flash or *.gif file in edit panel in java?

1191


i have a gird with columns all are coming from database,this will bind in item templete in gridview as textboxex.and i have button below named Update.i want to update all the records in the grid,but if user change the value of one textbox,what is the easy way 2 do this

1151


Hi, i have a project that the teacher want a pyramid of numbers in C# or java...when we click a button...the pyramid should be generated in a listbox/or JtextArea...and the pyramid should have the folowing form: 1 232 34543 4567654 567898765 67890109876 7890123210987 890123454321098 90123456765432109 0123456789876543210 Plz help with codes...didn't find anything on the net.

1349


how to programme using switch statements and fuctions, a programme that will output two even numbers, two odd numbers and two prime numbers of the users chioce.

900


Code to Block submission of form by pressing Enter Key

1186


advance the focus to next consecutive fields when Enter Key is pressed

977


how to write a program that opens a file and display in reverse order?

1408


I have this code in leftmenu.ascx page..now on leftmenu.ascx.cs page i want to access id values. but i dont want to check manually like Accommodation,Arts etc.. In cs file my code is like string str[]; //this array contains some values say 10 strings for(i=0;i<100;i++) { if(str[i]==id id.visible=true } i.e.i want to travel for each element of str and each value of id.if they match then id.visible=true how to do?

2319


How can I Draw an ellipse in 3d space and color it by using graph3d?

1045


Code for Creating a Form Using PlaceHolder Controls?

1278