S
Sarah
Guest
I'm trying to use blocks of fbml and blocks of php in my facebook application. However, I am trying to use my php variables in the fbml and it's not working.
For example I want to use the fb:time and use a variable created in my php block above it called $start. But it won't let me because its not an "integer".
for example I have something like
<?php
$start = 1235298413; //this number will change from queries to DB
?>
<fb:time t=$start tz="America/New_York" />
Can someone help please? I want to display this time.
For example I want to use the fb:time and use a variable created in my php block above it called $start. But it won't let me because its not an "integer".
for example I have something like
<?php
$start = 1235298413; //this number will change from queries to DB
?>
<fb:time t=$start tz="America/New_York" />
Can someone help please? I want to display this time.