View Single Post
Old November 15th, 2004, 10:58 PM
Snib Snib is offline
Friend of Wrox
Join Date: Nov 2003
Location: , , .
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts

Try this:

[code]echo "<script type='text/javascript>";
echo "var array_from_php = new Array();";
foreach($your_array as $v)
    echo "array_from_php = '".$v."';";
echo "</script>";

Try that and tell me if array_from_php has the value you want.

Where will you be in 100 years?
Try new FreshView 0.2!