|
#1
|
|||
|
|||
Mindless Any Help
Code:
class htmlout { public $name; function __construct($name) { $this->name = $name; } } $html = new htmlout($title); echo $html->name; Code:
$this->name; echo $this->name; should work like this > Code:
?><title><?php echo $html->name;?></title><?php echo "<link rel='stylesheet' Code:
$htmlout->template; Last edited by BamBam0077; 6th October 2018 at 16:19. Reason: template idea :) |
Tags |
mindless |
|
|