Parse error: syntax error, unexpected ’24’ (T_LNUMBER), expecting identifier (T_STRING) or variable (T_VARIABLE) or ‘{‘ or ‘$’

Parse error: syntax error, unexpected ’24’ (T_LNUMBER), expecting identifier (T_STRING) or variable (T_VARIABLE) or ‘{‘ or ‘$’ in /var/www/html/bits/home_ticker.php on line 55

This is how to solve it! 🙂

$dataMarked->24h_volume_usd'
$dataMarked->{'24h_volume_usd'}

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.