Portal Home > Knowledgebase > Articles Database > if isset
if isset
Posted by Snitz, 08-22-2007, 11:44 AM |
Here is the question, if I wanna add another $_REQUEST. For example $_REQUEST['profiletext2'] Where do I put it?
And If I wanna add a word or a text in front of the requested text, how do I do that?
|
Posted by Blesta-Paul, 08-22-2007, 11:51 AM |
I'm not super familiar with the Facebook API, but generally speaking one of these two would probably accomplish what your looking to do:
$facebook->api_client->profile_setFBML($_REQUEST['profiletext'], $user);
$facebook->api_client->profile_setFBML($_REQUEST['profiletext2'], $user);
or
$facebook->api_client->profile_setFBML($_REQUEST['profiletext'] . $_REQUEST['profiletext'], $user);
To add additional text in front of the profiletext you can try this:
$facebook->api_client->profile_setFBML("additional text" . $_REQUEST['profiletext'], $user);
|
Posted by Snitz, 08-22-2007, 11:59 AM |
QUOTE][ $facebook->api_client->profile_setFBML($_REQUEST['profiletext'], $user);
$facebook->api_client->profile_setFBML($_REQUEST['profiletext2'], $user);/QUOTE]
I don't thnk that would work as you only push the content to the profile once, but anyway, I will try it.
How about with multiple fields?
|
Posted by Snitz, 08-22-2007, 12:05 PM |
It worked, this is what I did:
|
Add to Favourites Print this Article
Also Read
propay.com (Views: 712)