Creating A JavaScript Array Dynamically Via PHP
Thursday, March 20th, 2008If you use PHP to create web pages, there may be times when you need to create a JavaScript array dynamically from a PHP array. This is not hard to do, but there is a trap you need to be careful of: dealing with arrays containing only a single element. (more…)



