Jump to content

$_POST problem


boylesg

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...