PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I found this in a code and I dont know what means this code
Config::get
I would like to trace it.. this part return some error message regarding to the parameter and I would like to know where I can find them? Config and Get are reserved words?
It's a static method call. Look in the class Config, and the method get.
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.
raulbolanos wrote:Thank you guy, now I have to figure out where is declared this function.
Is easy on Linux. If on Windows use the search to search all files in your app that contain 'class Config'.
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.