boylesg Posted September 15, 2010 Share Posted September 15, 2010 echo "###################################################################################<br>";echo (string)array_values($_POST)."<BR>";echo "###################################################################################<br>";How do you get array_values($_POST) to print out the array conents in the form "Array ( [0] => Cat [1] => Dog [2] => Horse ) "?All I get is "Array". Link to comment Share on other sites More sharing options...
Synook Posted September 15, 2010 Share Posted September 15, 2010 Use print_r(), not echo. Typecasting is not necessary. Link to comment Share on other sites More sharing options...
boen_robot Posted September 15, 2010 Share Posted September 15, 2010 BTW, if this is for the sake of debugging, consider the form of var_dump() instead. It provides type information too, which often comes useful. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.