html - Notice: Undefined variable: status in C:\xampp\htdocs\liker2\liker.php on line 134 and on line 130 -
this question has answer here:
there unknown error me can't fix error can me facebook auto liker website
if(isset($_get['type'])){ if($_get['type'] == "status"){ $beranda = json_decode(get_html("https://graph.facebook.com/$user->id/statuses?fields=id,message&limit=7&access_token=$token"))->data; foreach($beranda $id){ $status .= ' <section class="status"> <section class="image"> <img style="-webkit-border-top-left-radius: 37px; -moz-border-radius-topleft: 37px; border-top-left-radius: 37px; -webkit-border-top-right-radius: 0px; -moz-border-radius-topright: 0px; border-top-right-radius: 0px; -webkit-border-bottom-right-radius: 37px; -moz-border-radius-bottomright: 37px; border-bottom-right-radius: 37px; -webkit-border-bottom-left-radius: 0px; -moz-border-radius-bottomleft: 0px; border-bottom-left-radius: 0px;"src="https://graph.facebook.com/'.$user->id.'/picture"> </section> <section class="name">'.$user->name.'</section> <section class="message"><span class="color">'.$id->message.'</span></section> //// line 30/// <form action="" method="post"> <input type="hidden" name="id" value="'.$id->id.'"> <input type="submit" name="submit" value="submit" class="submit"></form> </section>'; //// line 34/// } }
before use .= need set variable.
$status = ''; ... $status .= '...';
Comments
Post a Comment