The exact code is posted above... you can see the error here: http://realestateagentswhotweet.com/kristan-cole/
I think it's something structurally though with the PHP, as line 65 itself should be fine, it's just the standard time display code below: //create a time display like '1 hour ago' function twitterTime($time) { $delta = time() - $time; if ($delta < 60) { return 'less than a minute ago.'; } else if ($delta < 120) { return 'about a minute ago.'; } else if ($delta < (45 * 60)) { return floor($delta / 60) . ' minutes ago.'; } else if ($delta < (90 * 60)) { return 'about an hour ago.'; } else if ($delta < (24 * 60 * 60)) { return 'about ' . floor($delta / 3600) . ' hours ago.'; } else if ($delta < (48 * 60 * 60)) { return '1 day ago.'; } else { return floor($delta / 86400) . ' days ago.'; } } I don't think the error is from the above, it's something structurally above or below this code. Am I missing some brackets or something somewhere? I'm not good enough with PHP to be able to tell. Thanks, Jon On Mar 27, 10:14 am, Blaaze Artifex <blaazet...@gmail.com> wrote: > can you post the exact code and exact error that you are seeing on your > browser???? > > > > > > > > On Sun, Mar 27, 2011 at 11:38 PM, Jon <j...@whotweet.net> wrote: > > All I'm trying to do is pull the user timeline or latest tweets for a > > given user that I follow. I think I have the code 99% correct, but I > > am horrible with PHP and am getting an error: Parse error: syntax > > error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' > > > Can someone please let me know where my error may be? > > > Thanks, > > > Jon > > > On Mar 27, 9:12 am, Blaaze <blaazet...@gmail.com> wrote: > > > what exactly you want to implement, am a freelancer and you can hire > > > me at good rates. > > > -- > > Twitter developer documentation and resources:http://dev.twitter.com/doc > > API updates via Twitter:http://twitter.com/twitterapi > > Issues/Enhancements Tracker: > >http://code.google.com/p/twitter-api/issues/list > > Change your membership to this group: > >http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk