> -----Original Message----- > From: Karl DeSaulniers [mailto:k...@designdrumm.com] > Sent: 26 November 2012 08:48 > To: php-db@lists.php.net > Subject: Re: [PHP-DB] Re: Formatting > > Ethan, > is this valid PHP? What is the ampersand for? What is it doing? Just > curious. > > $args[] = &$_POST[$k]; // Note the addition of the ampersand here
That's a perfectly valid reference assignment. Please see the Fine Manual at: http://php.net/manual/language.references.whatdo.php Cheers! Mike -- Mike Ford, Electronic Information Developer, Libraries and Learning Innovation, Portland PD507, City Campus, Leeds Metropolitan University, Portland Way, LEEDS, LS1 3HE, United Kingdom E: m.f...@leedsmet.ac.uk T: +44 113 812 4730 To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php