PHP Code confusion
Posted: Sat Nov 06, 2010 1:37 am
Team,
I have this current code in my website.
public function showLeaderboard($action)
{
$action->element('img',
array('width' => 720,
'height' => 90,
'src' => common_path('plugins/BlankAd/redpixel.png')),
'');
}
Instead of the image --> 'redpixel.png' I want to add an html file. But It`s not happening. Please let me know how is it going to be posssible.
I have this current code in my website.
public function showLeaderboard($action)
{
$action->element('img',
array('width' => 720,
'height' => 90,
'src' => common_path('plugins/BlankAd/redpixel.png')),
'');
}
Instead of the image --> 'redpixel.png' I want to add an html file. But It`s not happening. Please let me know how is it going to be posssible.