Welcome aboard! We are happy you are here and wish you good net-raft!
<?php
class Lang {
function Lang() {
$this->type1 = "PHP";
$this->type2 = "JAVA";
$this->type3 = "ASP.NET";
}
}
// create an object
$mylang = new Lang();
$br = "</br>";
// show object properties
echo $mylang->type1 . $br;
echo $mylang->type2 . $br;
echo $mylang->type3 . $br;
?>
The most helpful PHP solutions
detect browser phpPHP Click to see more ... 4.6K 408