I am using this API https://github.com/blocktrail/blocktrail-sdk-php.
I am suppose to add this to top of my directory where I want to initialize the API.
require 'vendor/autoload.php';
use Blocktrail\SDK\BlocktrailSDK;
But the second line gives me an error.
use Blocktrail\SDK\BlocktrailSDK;
Parse error: syntax error, unexpected 'use' (T_USE) in C:\xampp\htdocs\site\templates\header.php on line 12
Is the "use" a correct syntax for php? Why is it giving me an error?