2016-05-31, 08:05 PM
Hi!
I've a problem with my hardware forum passing php variables to template, I want I'cant pass $width y $height
I'm using this plugin and I can effectively use PHP in templates so this should work:
But not!
Echo works but print nothing!
From controller-side I've this:
What can I fix this ?
I've a problem with my hardware forum passing php variables to template, I want I'cant pass $width y $height
I'm using this plugin and I can effectively use PHP in templates so this should work:
<div style="float:right; display:inline-block; width: <?php echo $width; ?>px; height: <?php echo $height; ?>px; padding-left:10px; padding-right:10px; margin-left:10px; margin-right:10px; none repeat scroll 0% 0%;" >
But not!
Echo works but print nothing!
From controller-side I've this:
$height = 240;
$width = 120;
// ...
eval("\$width = \"\$width\";");
eval("\$height = \"\$height\";");
What can I fix this ?