原创 call_user_func_array 總結

If you need to call just function with parameters:call_user_func_array('Foo',$args);If you need to call CLASS method (NO

原创 replace into table (***,****) select ***, *** from table

  Insert是T-sql中常用語句,Insert INTO table(field1,field2,...) values(value1,value2,...)這種形式的在應用程序開發中必不可少。但我們在開發、測試過程中,經常會遇到需要

原创 類的不錯的調用方法

<?php  class example {      var $name;      var $sex;      function name($name) {          $this->name = $name;