Learning PHP and MySQL

Example 05-11 Creating the Cat constructor

<?php
class  Cat  {
//  Constructor 
  
function  Cat()  {
  }
}
?>

Posted by on 08/03 at 08:21 AM

Next entry: Example 05-12 Using the PHP 5 style constructor

Previous entry: Example 05-10 Creating an object from the Cat class

<< Back to main