Also meine Klasse fängt so an:
<?php
class Page
{
var $smarty;
var $author;
var $today = getdate();
var $year = $today['year'];
var $month = $today['mon'];
var $day = $today['mday'];
...
Jetzt bekomme ich immer folgende Fehlermeldung:
Parse error: parse error, unexpected T_VARIABLE, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in d:\dentona_new\classes\design\page.class.php on line 8
Was soll das?
Danke
<?php
class Page
{
var $smarty;
var $author;
var $today = getdate();
var $year = $today['year'];
var $month = $today['mon'];
var $day = $today['mday'];
...
Jetzt bekomme ich immer folgende Fehlermeldung:
Parse error: parse error, unexpected T_VARIABLE, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in d:\dentona_new\classes\design\page.class.php on line 8
Was soll das?
Danke
Kommentar