Professional Web Applications Themes

Php includes? An html file? - Macromedia Dynamic HTML

Hi all, I'm working on table that has to be updated quarterly by a client using either Contribute or DW. The table rotates each week and I have them included right now in a page using php.inc The problem is the client can't be trusted to edit an inc, so I have used an html template with the table for manual editing [ I haven't used the DW template lock, just sent a DW page]. My question, is there a way to include the html page within a page in php without duplicating the html/header/body tags?? Just for clarification, the ...

  1. #1

    Default Php includes? An html file?

    Hi all,
    I'm working on table that has to be updated quarterly by a client using
    either Contribute or DW. The table rotates each week and I have them
    included right now in a page using php.inc

    The problem is the client can't be trusted to edit an inc, so I have used an
    html template with the table for manual editing [ I haven't used the DW
    template lock, just sent a DW page].

    My question, is there a way to include the html page within a page in php
    without duplicating the html/header/body tags??

    Just for clarification, the php.html page right now is structured as
    follows:
    html
    Header
    Body

    Location specific content
    Table // variable content from a called php.inc


    /Body
    /Header
    /html

    Thanks
    Jeff
    ~~~~~~~~~~~~
    Jefferis Peterson, Pres.
    Web Design and Marketing
    [url]http://www.PetersonSales.com[/url]


    Jefferis NoSpamme Guest

  2. #2

    Default Re: Php includes? An html file?

    well you could just make the page you send to your client not include the tags
    and that it only includes the table code?

    Otherwise you could make it into a database - which is probably the better
    solution as then there is little way that the code will change.

    Hope this helps

    boy mackman Guest

  3. #3

    Default Re: Php includes? An html file?

    Thanks, I didn't think the table would display without the tags, but it
    appears that it does.
    Jeff


    On 12/22/05 5:48 AM, in article doe096$5ck$1forums.macromedia.com, "boy
    mackman" <webforumsusermacromedia.com> wrote:
    > well you could just make the page you send to your client not include the tags
    > and that it only includes the table code?
    >
    > Otherwise you could make it into a database - which is probably the better
    > solution as then there is little way that the code will change.
    >
    > Hope this helps
    >
    ~~~~~~~~~~~~
    Jefferis Peterson, Pres.
    Web Design and Marketing
    [url]http://www.PetersonSales.com[/url]


    Jefferis NoSpamme Guest

Similar Threads

  1. Problems with HTML includes
    By asprinwizard in forum Macromedia Dynamic HTML
    Replies: 8
    Last Post: November 4th, 07:58 PM
  2. application object vs includes file
    By Luis in forum ASP Database
    Replies: 1
    Last Post: August 13th, 12:01 PM
  3. textArea's and external html files> linking in the html to a new file
    By :\) Morganizer in forum Macromedia Flash Actionscript
    Replies: 0
    Last Post: February 29th, 01:36 PM
  4. Problem occurs when included file includes anther file.
    By Caiyongzhou in forum PHP Development
    Replies: 3
    Last Post: August 8th, 08:37 AM
  5. Replies: 0
    Last Post: August 8th, 07:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139