Working with PHP files (not exactly PHP related)

Discussion in 'Web Design' started by AusQB, Mar 13, 2009.

to remove all ads.
  1. AusQB

    AusQB New Member

    Messages:
    167
    I decided to simplify my PHP based website my shifting most of the <head> content to and external file 'head.php'.

    However, since I'm using the include('head.php') statement, I can't see the page as it would appear normally in my editing program (Expression Web 2).

    Is there a way around this?
     
  2. conor

    conor New Member

    Messages:
    348
    so the page appears normally in the browser but not in your visual editor?

    Does your editor support php?
     
  3. AusQB

    AusQB New Member

    Messages:
    167
    My editor supports php fine, it's just that since all the <head> tags, such as links to css files, are not present on the main pages when I'm editing them, so they do not look normal.
     
  4. conor

    conor New Member

    Messages:
    348
    i don't think there's any way around that.

    why not just get a text editor and use your browser for visual display?
     
  5. AusQB

    AusQB New Member

    Messages:
    167
    Yeah I guess so. I can just include the tags while I'm editing and remove them when I save the page.
     

Share This Page