Im trying to declare an array within a class. the varible is a private varible. but i keep getting this error message when i run the page
Parse error: syntax error, unexpected T_NEW in /home/igvdev/public_html/empire/system/content/mail_form.php on line 56
can someone help me please. i marked line 56
public $to; // This is going into the param of mail(). specifies who your sending it to
public $from; // This is going into the actual message. Just telling the reciever who the message is from
public $email; // This is going into the Email param of the mail() funciton. Specifies where the message is going to
public $senders_email; // This is going into the message and it is telling the reciever whos email it is
public $subject; // This is going into the subject param of the mail() function. Believe it appears in the title bar.
private $message = new array(); /* This is line 56 This is an array that gathers 2 types of data. the $key which would be the label such as 'Name:' and the value
which would be the information pretaining to the name such as 'Billy' you can only set the data through the
insert function */
private $final_message;