g_p_java Posted February 3, 2009 Share Posted February 3, 2009 Hello, i have an array and i assign it in a variable : $str = $arr; i then do echo "Str : , $str " . "<br />"; and it doesn't print anything! Do you know what's going wrong? Thanks Link to comment Share on other sites More sharing options...
trq Posted February 3, 2009 Share Posted February 3, 2009 You can't simply echo an array. Post your actual code (in tags). Link to comment Share on other sites More sharing options...
g_p_java Posted February 3, 2009 Author Share Posted February 3, 2009 You can't simply echo an array. Post your actual code (in tags). well i have already posted my array in another thread ... but noone has replied Link to comment Share on other sites More sharing options...
killah Posted February 3, 2009 Share Posted February 3, 2009 Here $str = $arr; echo 'Str: <pre>'; print_r($str); echo '</pre>'; Link to comment Share on other sites More sharing options...
trq Posted February 3, 2009 Share Posted February 3, 2009 You can't simply echo an array. Post your actual code (in tags). well i have already posted my array in another thread ... but noone has replied So you simply opened another thread? Thats not how forums work. Read here to get a better idea of what is expected around here. Link to comment Share on other sites More sharing options...
Recommended Posts