Hi, I'm trying to wrtie a facebook application that generates random quotes using php. However, I'm getting this error and I don't know how to sort it.
Parse error: syntax error, unexpected T_STRING in /home/a9607557/public_html/index.php on line 8
This is the code I have:
<?php require_once 'includes/facebook.php';
$appapikey = '<Hash>';
$appsecret = '<Hash>;
$facebook = new Facebook($appapikey, $appsecret);
$user_id = $facebook->require_login();
$callbackurl = 'http://newuser.hostei.com/';
//initialize an array of quotes $quotes= array("Hello World.", "Yes", "New");
//Select a Random one. $i= rand(0, sizeof($quotes)-1);
I'm sure the problem must be lying in these lines of code. Thanks for any help.