Passing variables to a function
Moderator: General Moderators
Re: Passing variables to a function
thanks for array_map too !
- AbraCadaver
- DevNet Master
- Posts: 2572
- Joined: Mon Feb 24, 2003 10:12 am
- Location: The Republic of Texas
- Contact:
Re: Passing variables to a function
Aside from AdoDB, check these that are built-in (many times) to PHP: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.
http://us2.php.net/pdo
http://us2.php.net/mysqli
Prepared statements take care of most of these things for you.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.