Jump to content

[SOLVED] array error


ohdang888

Recommended Posts

Fatal error: Cannot use string offset as an array in /home/user/public_html/test/sign_up.php on line 93

 

<?php
$net = $facebook->api_client->fql_query("SELECT  affiliations FROM user WHERE uid ='$id' "); //line 92
$network = $net[0]['affiliations'];// line 93

foreach($network as $info){//line 95
?>

 

 

Link to comment
https://forums.phpfreaks.com/topic/126532-solved-array-error/
Share on other sites

  • 5 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.