Wednesday, 1 June 2016

Comments in PHP

 /**
   * Photos
   * 
   * 
   * @package    CI
   * @subpackage Controller
   * @author     YOUR NAME <YOUREMAIL@domain.com>
   */
  class Photos extends CI_Controller
  {

      /**
       * 
       * Uploads a file
       *
       * @param string $file_name  description
       * @param string $new_name  description
       * @param integer $new_width  description
       * @param integer $new_height  description
       * @param string $directory  description
       * @return boolean
       */
      public function upload($file_name, $new_name, $new_width, new_$height, $directory)
      {

      }
   }
Above is a simple file upload script illustrating php comment, and this is the commented area of that script
/**
   * Photos
   * 
   * 
   * @package    CI
   * @subpackage Controller
   * @author     YOUR NAME <YOUREMAIL@domain.com>
   */


in other to understand this concept very well users will need to to download this video to have a good view of what the process are. do not forget to subscribe to our youtube channel for more updates from ogbugbu web development service click here to go to official website.


0 comments:

Post a Comment