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'])) { $office = $_REQUEST['profiletext']; echo "The current office you are registered to work at is : $office "; $fbml = <<
This user is/was an EF Staff Member @ $office
EF Logo
Currenty there are $count users who added this application
EndHereDoc; $facebook->api_client->profile_setFBML($fbml, $user); $story = "{actor} is listed as an EF Staff Member @ $office"; $facebook->api_client->Feed_publishStoryToUser($story, $user); //$facebook->redirect($facebook->get_facebook_url() . '/profile.php'); } echo '

'; echo '
Please include which Office you work/ed with


'; echo ''; echo '
'; $fbml2 = "this is a testing"; $facebook->api_client->profile_setFBML($fbml2, $user); echo "

the following form was added to the profile box: $fbml

"; //echo $fbml; ?>