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 3980If 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 3579Which framework is best in php among Smarty, Cakephp, Joomla, Drupal, Zend or Something else...? If any then Why?
HCL,
2 8043
How to add flash or *.gif file in edit panel in java?
Discuss an algorithm to traverse a tree, depth first.
Can we have empty XML tags?
How to access oralce10g data from server to client in LAN?
write a vb script to check equal two 2*2 matrix
how to create an anonymous function
What are nested elements in XML?
Write a python program to print table of a given number?
What is XML Parser?
Which keyword is alias for count keyword in php?
program to bring a window to the front
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]
how to copy form data between different pages
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?
How can a procedure fetch data from FTP? I need a general code for this..