Getting an unexpected error don't know what the hell is wrong as everything is perfect as far as I noticed
Parse error: syntax error, unexpected '=' in C:\wamp\www\dropbox-sdk\index.php on line 18
<?php
session_start();
require_once "lib/Dropbox/autoload.php";
$_SESSION["user_id"] = 1;
$dropboxKey = '';
$dropboxSecret = '';
$appName = 'puttiapp/1.0';
$appInfo = new Dropbox\AppInfo($dropboxKey, $dropboxSecret);
$csrfTokenStore = new Dropbox\ArrayEntryStore($_SESSION, 'droppbox-ayth-csrf-token');
$webauth = new Dropbox\WebAuth($appInfo, $appName, 'http://localhost/editmate/dropbox_finish.php', $csrfTokenStore);
$database = new PDO(mysql::host=localhost;dbname=editmate;dbuser=root);
$user = $database->prepare("SELECT * FROM users WHERE id = :user_id");
$user->execute(['user_id' => $_SESSION['user_id']]);
$user = $user->fetchObject();
var_dump($user);
?>