setting variable to image file (gif) and using it in $out.
Posted: Wed Jan 03, 2007 12:10 pm
feyd | Please use
This doesn't seem to be working. What am I doing wrong?
Thanks,
CdnRebel
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hi,
They prefer to use variables and I am not sure how to code it.
I have the following:Code: Select all
var $yearNavForw="bookingAgent/images/rightarrow.gif";
$out.="<img src =\"".$this->yearNavForw."\"width = \"11\" height \"10\"></a></td></tr></table></td></tr>\n";Thanks,
CdnRebel
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]