Is their any easy method for getting array value in php instead of this., <? a=array("A","B","C"); ?>
No there is not. In Javascript, you could do easier with JSON, like this: var array=['A','B','C']; But in PHP there is not. Of course you could use array_fill(), to generate an array easier, but I'm sure that's not what you mean.
yes there is only the mysql and the regular $arr['a'] nothing simpler exists but there are more complex ways but it would just use uneeded code
aruna_r maybe you're coming from a different language than PHP/Perl. give yourself some time to learn the syntax of the language. I'd say the syntax is the easiest part of any language. Learning the methodologies and best practices should be your goal.
parsing an array in php is as easy as it is in any other language. there are multiple ways to do it. the syntax is just different. i would like to help but i don't feel as if i completely understand your question.