NYCPHP Meetup

NYPHP.org

[nycphp-talk] arg_separator

Adam Maccabee Trachtenberg adam at trachtenberg.com
Tue Dec 20 04:03:42 EST 2005


On Mon, 19 Dec 2005, Dan Cech wrote:

> Here is a handy little function to take an array and turn it into a
> query string, ready to go into a header or curl call, or through
> htmlentities and into html:
>
> function query_string($vars)

[rest of useful post and function snipped]

As of PHP 5, this is a built-in function, http_build_query().

-adam

-- 
adam at trachtenberg.com | http://www.trachtenberg.com
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!



More information about the talk mailing list