hello $user
"; $rs = query("select count from counter"); if ($row = mysql_fetch_assoc($rs)) { $count = $row['count']; query("update counter set count=count+1"); } else { query("insert into counter values (1)"); $count = 1; } //sending data straight to the profile if (isset($_REQUEST['profiletext'])) { $facebook->api_client->profile_setFBML($fbml, $user); $facebook->redirect($facebook->get_facebook_url() . '/profile.php'); } echo 'the following form was added to the profile box:
"; echo $fbml; $facebook->api_client->profile_setFBML($fbml, $user); ?>