NYCPHP Meetup

NYPHP.org

[nycphp-talk] gnubie questions regarding working with form contents...

Daniel Kushner nyphp at websapp.com
Thu May 1 23:12:26 EDT 2003


> $arr = array();
> $arr = $HTTP_POST_VARS;       // or is it $arr[] = $HTTP_POST_VARS;


Please note that there is no reason to declare $arr as an array (and create
new array). $arr = $_POST  copies the $_POST array to the new variable $arr.

--Daniel





More information about the talk mailing list