Page 2 of 2

Re: Passing variables to a function

Posted: Wed Mar 23, 2011 9:25 am
by Bind
thanks for array_map too !

Re: Passing variables to a function

Posted: Wed Mar 23, 2011 10:31 am
by AbraCadaver
tzirtzi wrote:Wow. AdoDB looks like it would have saved... well, a huge amount of coding. At this point, I'm not sure it would be worth going back and changing things.. but next time, I definitely will be using it.

Thanks for the heads up on array_map - I'll be using that :).
Aside from AdoDB, check these that are built-in (many times) to PHP:

http://us2.php.net/pdo
http://us2.php.net/mysqli

Prepared statements take care of most of these things for you.