Jump to content

$_POST problem


boylesg
 Share

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...