I know how to replace array value ... My question is howto insert a value to the array. Let's say... $a = array("hello", "good", "hi");
I want to insert the text "great" in the array position "0". Final output I am expecting is following:
array("great", "hello", "good", "hi");
I hope to get some help. Thanks....