Facebook FBML Help

I have an application on facebook which has been running smoothly for the past 12 months, however today, it has stopped working due to and offset error as seen below:

**Fatal error**: Cannot use string offset as an array in **/home/username/public_html/application/[url removed, login to view]** on line **23


I have checked the code and have found it to be in the following:

// Get user details from facebook

$get_name="SELECT name, pic_square FROM user WHERE uid = '".$user_id."'";




The error is in this line:


If i remove the "[0]" the page loads but the data requested isnt sent which is causing the application to break.

I need you to tell me how to fix this issue so the user data requested is displayed when called from my application.

This is an urgent job, and i will be selecting a bidder in the next hour.

Skills: Database Administration, Javascript, Linux, MySQL, PHP, Software Architecture, Software Testing, SQL, User Interface / IA, Web Hosting, Website Management, Website Testing

See more: i will be working from home today, how to get a job working from home, facebook uid, use string offset, need urgent job home, due fatal error, need home job urgent, javascript select remove, php fatal error use string offset array, php use string offset array, use string offset array php, php fatal error use string offset, use string offset array, fatal error use string offset array, uid facebook, php string remove, php facebook fix, fix javascript facebook, fix facebook code, select name, past page facebook, php remove string, facebook user details javascript, urgent fix today, javascript array php array

About the Employer:
( 111 reviews ) Brisbane, Australia

Project ID: #3225759

1 freelancer is bidding on average $13 for this job


See private message.

$12.75 USD in 14 days
(1 Review)