Scripts_Markup Code Interview Questions
Questions Answers Views Company eMail

What is difference between in_array and array_search?

TCS,

2 7003

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 3980

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 3579

what is main difference between array_push and array_pop?

3687

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

HCL,

2 8043

How can get all database name using Php and Sql?

NIIT,

1772

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

NIIT,

1618

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

1570

Which keyword is alias for count keyword in php?

1679

Is there any way to open notepad within php?

1707

How can export database using php code?

1583

How can import database to mysql using php code?

Wipro,

1 3311

What is used of serialize and unserialize in php?

2575

How can manage theme in php?

2033

What is used of phpinfo() function in php?

1 3157


Un-Answered Questions { Scripts_Markup Code }

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

1959


Discuss an algorithm to traverse a tree, depth first.

1221


Can we have empty XML tags?

370


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

1368


write a vb script to check equal two 2*2 matrix

1053






how to create an anonymous function

1732


What are nested elements in XML?

345


Write a python program to print table of a given number?

460


What is XML Parser?

448


Which keyword is alias for count keyword in php?

1679


program to bring a window to the front

1568


Write a function that takes an array of integers and returns that array rotated by N positions. For example, if N=2, given the input array [1, 2, 3, 4, 5, 6] the function should return [5, 6, 1, 2, 3, 4]

1851


how to copy form data between different pages

1678


I'm calling a JS fcn that fires AJAX to a webmethod and returns a boolean. How do I retrieve the return value in the codebehind? (VB) I can set a hiddenfield value in the JS, but if it's async how can my VB know when it's changed?

670


How can a procedure fetch data from FTP? I need a general code for this..

1361