Ohhh...che errore stupido che ho fatto!
<?php
File class1.php
class class1 {
public $myvar;
public function __construct() {
$this->myvar = 1
}
}
?>
Così va bene
Grazie dell'aiuto e buona notte!
Ohhh...che errore stupido che ho fatto!
<?php
File class1.php
class class1 {
public $myvar;
public function __construct() {
$this->myvar = 1
}
}
?>
Così va bene
Grazie dell'aiuto e buona notte!