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 4302If 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 3966Which framework is best in php among Smarty, Cakephp, Joomla, Drupal, Zend or Something else...? If any then Why?
HCL,
2 8391
How can i know that how many user are visited to my page in php?
Write a python program to check if a number is a strong number?
Write a function that takes an array of integers and efficiently calculates and returns the Least Common Multiply in python.
i have some csv files in a directory which have sub-directories also. now how can i merge all .csv files in to one with a single header. for example: have some 4 files. 1.csv--------name,age,sal abc,25,4000 2.csv--------name,age,sal vgd,32,3500 3.csv--------name,age,sal hfg,20,5000 4.csv--------name,age,sal asd,15,2000 now my output file should be like 5.csv----------name,age,sal abc,25,4000 vgd,32,3500 hfg,20,5000 asd,15,2000 and please explain the code for me. as i am new to scripting. thank you in advance
how to pass data between pages using Frames
What is an attribute?
What are XML Namespaces?
write a vb script to check equal two 2*2 matrix
How to change winform look?
What is well formed XML document?
What are the special characters used in XML?
Why XML has been used for development?
Can we have empty XML tags?
Who is responsible for XML?
How can restrict user to type upto 8 characters in textbox in php?