Line of code missing ";" error
<p>I am getting an error on line 49 below is line of code</p>

<p>Exact error</p>

<p>Parse error: syntax error, unexpected T_NEW, expecting ',' or ';' in /home/banking/onlinebanking/processdeposit.php on line 49</p>

<pre><code>enter code here

&lt;?php 


require_once('../header.inc.php');
require_once('../class/database.class.php');
require_once('../class/person.class.php'); 
require_once('../websiteconfig.inc.php');
require_once('../class/bankaccount.class.php');



/*Start Session*/
session_start();

$currentMember = unserialzed($_SESSION['currentMember']);

/*Initialize variables*/
$depositamount = $_POST['depositamount_dollars'] . '.' . $_POST['depositamount_cent'];

$account = $_POST['account'];
$errors[]=array();


/*Error Handling*/
if($depositamount_dollars==''){
$errors[] = 'Please enter a valid dollars amount for your deposit.';
}

/*Error Handling*/
if($depositamount_cents==''){
$errors[] = 'Please enter a valid cents amount for your deposit.';

}

if($account==0){
$errors[] =  'Please select an account.';
}

/*Check if errors exist*/

$db = new Database;
$bankaccount = new Bankaccount;
$bankaccount-&gt;connection =$db-&gt;connection;

/*Process Deposit*/
$newbalance = $bankaccount-&gt;deposit($currentMember-&gt;memberid, $account,     $depositamount);    


echo '&lt;h3&gt;Deposit Completed&lt;/h3&gt;' . "\n";
</code></pre>

<p>Below is line 49</p>

<pre><code>echo '&lt;p&gt;A deposit of ' .money_format('%i' , $depositamount) . 'to Account #' .$account . ' .The new balance is: ' . money_format('%i' , $newbalance) . '.&lt;/p&gt;';
} else {



echo '&lt;h1&gt;Deposit Errors!&lt;/h1&gt;' . "\n";
echo '&lt;ul id="error_list"&gt;' . "\n";

foreach($errors As $errors) {
}
echo '&lt;/ul&gt;';
}
?&gt; 
</code></pre>
