Author |
Message |
Topic: facebook connect and fetching fb variables |
hozyali
Replies: 6
Views: 7743
|
Forum: General Posted: Wed Nov 16, 2011 5:58 pm Subject: facebook connect and fetching fb variables |
Apologies... my memory is useless...
I did a complete successful project on smarty with all these things and now I realize how I called these basic array elements in there.
Completely forgot ... |
Topic: facebook connect and fetching fb variables |
hozyali
Replies: 6
Views: 7743
|
Forum: General Posted: Wed Nov 16, 2011 5:33 pm Subject: facebook connect and fetching fb variables |
Hi U.Tews,
thanks. I read it but its all about assigning right?
How do I access the elements of the array which is already assigned?
thanks |
Topic: facebook connect and fetching fb variables |
hozyali
Replies: 6
Views: 7743
|
Forum: General Posted: Wed Nov 16, 2011 5:24 pm Subject: facebook connect and fetching fb variables |
yeah, I know about that.
but the problem is I can only do a loop of assigned array in smarty. But I do not want a loop. because I want to place different values in different places of the page so i ... |
Topic: array specific value printing |
hozyali
Replies: 5
Views: 7818
|
Forum: General Posted: Sun Nov 13, 2011 3:07 pm Subject: array specific value printing |
Hi,
I get the full array data and that is the correct data I am getting.
Even I get full array data with the print_r modifier in smarty. |
Topic: array specific value printing |
hozyali
Replies: 5
Views: 7818
|
Forum: General Posted: Sun Nov 13, 2011 4:07 am Subject: array specific value printing |
Hi,
I tried your code, but it now throws a blank white page.
Here is the facebook full code in my php page.
$facebook = new Facebook(array(
'appId' => '23092384032940',
... |
Topic: array specific value printing |
hozyali
Replies: 5
Views: 7818
|
Forum: General Posted: Sat Nov 12, 2011 7:21 pm Subject: array specific value printing |
Hi,
I am stuck with something.
I am getting a user data in an array from facebook. Like this
$user_profile = $facebook->api('/me');
$smarty->assign('fbuser_profile', $us ... |
Topic: facebook connect and fetching fb variables |
hozyali
Replies: 6
Views: 7743
|
Forum: General Posted: Sat Nov 12, 2011 3:31 pm Subject: facebook connect and fetching fb variables |
Hi,
I am newbie with facebook apps. I have got the connect and login button to work with smarty and facebook.
However I can't figure out how to fetch the facebook user's profile info in the sma ... |
Topic: something is wrong |
hozyali
Replies: 3
Views: 7535
|
Forum: Installation and Setup Posted: Wed Sep 07, 2011 1:56 pm Subject: something is wrong |
it is sorted. thanks for your help. |
Topic: 3 columns |
hozyali
Replies: 1
Views: 3095
|
Forum: General Posted: Tue Sep 06, 2011 8:00 am Subject: 3 columns |
here is the code
{section name=ListPics loop=$ListEvPics}
<div style="float:left; width:210px; margin-top:5px;">
<a href="{$smarty.const.domai ... |
Topic: 3 columns |
hozyali
Replies: 1
Views: 3095
|
Forum: General Posted: Tue Sep 06, 2011 7:59 am Subject: 3 columns |
As usual I tried many existing examples of displaying in columns in smarty but no luck.
I need to display the section loop records in 3 columns.
please help |
Topic: something is wrong |
hozyali
Replies: 3
Views: 7535
|
Forum: Installation and Setup Posted: Sat Sep 03, 2011 11:47 am Subject: something is wrong |
I cannot post reply or new topic in GENERAL category. please advise. |
Topic: ID value displays only first char |
hozyali
Replies: 10
Views: 10136
|
Forum: General Posted: Tue May 31, 2011 3:28 pm Subject: ID value displays only first char |
I fixed it. thank you so much.
my statement had another same name column calling from another table so I had to change its name.
thanks again |
Topic: ID value displays only first char |
hozyali
Replies: 10
Views: 10136
|
Forum: General Posted: Tue May 31, 2011 2:36 pm Subject: ID value displays only first char |
yes, but the ID single digit is being assigned by PHP. so it is something wrong when PHP is supplying the values to the array. |
Topic: ID value displays only first char |
hozyali
Replies: 10
Views: 10136
|
Forum: General Posted: Tue May 31, 2011 2:28 pm Subject: ID value displays only first char |
I did. here is what I got.
Array
(
[0] => Array
(
[art_id] => 2
[art_name] => Jennifer Lopez
[art_ ... |
Topic: ID value displays only first char |
hozyali
Replies: 10
Views: 10136
|
Forum: General Posted: Tue May 31, 2011 2:15 pm Subject: ID value displays only first char |
Yes, its a loop of array
here is the PHP code
$ListVenues = array();
$EvRs = mysql_query($SqlArt);
while ($EvRows = mysql_fetch_assoc($EvRs)) {
$ListVenu ... |
|