Hello There, Guest! Register

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Upgrade Page
01-30-2016, 10:33 PM
Post: #1
Upgrade Page
I've been getting the following Syntax error:

Parse error: syntax error, unexpected '[' in /home/_____/public_html/view/theme/default/tpl/account/upgrade.php on line 263

Line in question is:
PHP Code:
foreach($memberships as $membership)
    {
        echo 
'<td><a href="#" title="'.$membership['successive_payout_minimum'].'">'.asset(Vars::$conf->payments->default_asset,explode('-',$membership['successive_payout_minimum'])[0]).'</a></td>';
    } 

Should be something relatively simple. Unfortunately, I do not know PHP syntax (only know Python).
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)