Mon Oct 27, 2008 12:40 pm
<?php
class employee {
var $emp_code;
var $name;
var $address;
var $department;
var $sex;
var $date_of_birth;
var $salary;
}
$dave = new employee;
$alice = new employee;
echo gettype ($dave)," \n";
echo gettype ($alice), " \n";
?>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.