micks80
03-31-2008, 09:00 PM
Hi Friends,
I have this div code for a shoutbox which I am trying to put it into some module but it's not working because it has a section of php code in it i.e. <?=urlencode($nme)?>, so it expects itself to be in a php file.I don't know much of php, so any help would be greatly appreciated.
<div align="center" id="cboxdiv">
<iframe frameborder="0" width="750" height="372"
src="http://www.shoutbox.com/box/?boxid=123456&boxtag=f65fqj&sec=main"
marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes"
name="cboxmain" style="border:#1B1B1B 1px solid;"
id="cboxmain"></iframe><br/>
<iframe frameborder="0" width="750" height="78"
src="http://www.shoutbox.com/box/?boxid=123456&boxtag=f65fqj&sec=form&nme=<?=urlencode($nme)?>&nmekey=<?=$nmekey?>
" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes"
name="cboxform" style="border:#1B1B1B 1px solid;border-top:0px"
id="cboxform"></iframe>
</div>
Can someone please tell me how to accomplish this in some module or how can i put this into a php file.
Thanks
I have this div code for a shoutbox which I am trying to put it into some module but it's not working because it has a section of php code in it i.e. <?=urlencode($nme)?>, so it expects itself to be in a php file.I don't know much of php, so any help would be greatly appreciated.
<div align="center" id="cboxdiv">
<iframe frameborder="0" width="750" height="372"
src="http://www.shoutbox.com/box/?boxid=123456&boxtag=f65fqj&sec=main"
marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes"
name="cboxmain" style="border:#1B1B1B 1px solid;"
id="cboxmain"></iframe><br/>
<iframe frameborder="0" width="750" height="78"
src="http://www.shoutbox.com/box/?boxid=123456&boxtag=f65fqj&sec=form&nme=<?=urlencode($nme)?>&nmekey=<?=$nmekey?>
" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes"
name="cboxform" style="border:#1B1B1B 1px solid;border-top:0px"
id="cboxform"></iframe>
</div>
Can someone please tell me how to accomplish this in some module or how can i put this into a php file.
Thanks