Please look at this code.
<script type="text/javascript"> var functionlist = Array("abs","acos","acosh","addcslashes","addslashes");
I want to populate the javascript functionlist array from the result of a mySQL query. How do I do that in PHP?
You might want to consider using [man]JSON[/man] functions.