java script array
<pre><code>Array
(
    [0] =&gt; giri
)
Array
(
    [0] =&gt; ramya
)
Array
(
    [0] =&gt; sangeetha
)
Array
(
    [0] =&gt; hemalatha
)
Array
(
    [0] =&gt; umar
)
</code></pre>

<p>How to convert this php array like the below java script array?</p>

<pre><code>var availableTags = [
    "ActionScript",
    "AppleScript",
    "Asp",
    "BASIC",
    "C",
    "C++",
    "Clojure",
    "COBOL",
    "ColdFusion",
    "Erlang",
    "Fortran",
    "Groovy",
    "Haskell",
    "Java",
    "JavaScript",
    "Lisp",
    "Perl",
    "PHP",
    "Python",
    "Ruby",
    "Scala",
    "Scheme"
]; 
</code></pre>
