HTML/PHP Advice - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Skype & Technology (/forumdisplay.php?fid=9) +---- Forum: Tech Talk (/forumdisplay.php?fid=17) +----- Thread: HTML/PHP Advice (/showthread.php?tid=73610) HTML/PHP Advice by albert on 04-15-2007 at 03:13 AM
For a long time I've been using Iframes to code my websites, and although it does work properly, everyone seems to say that this is no way close to be the best way to put both pages together. RE: HTML/PHP Advice by wj on 04-15-2007 at 03:17 AM
You could do it eaisly with this: RE: HTML/PHP Advice by albert on 04-15-2007 at 03:19 AM
quote: Yes, but I didn't seem to be able to do this earlier.. I'll try it right away, thanks for the advice. Question though, will that only put the text, or the design as well? Yay it worked! RE: HTML/PHP Advice by Volv on 04-15-2007 at 01:47 PM
quote:It is exactly the same as copying the contents of menu.php to the place where you type the "include 'menu.php'" including any html formatting, php code etc. RE: HTML/PHP Advice by Matti on 04-15-2007 at 05:06 PM The "include" function reads the file and adds its contents on the current position in the document. Therefore, make sure you don't have any <html> or <body> tags in the menu.php file. |