3 Replies Latest reply: May 4, 2009 10:02 AM by MurraySummers RSS

    php elements vs php site

    Cindy- Community Member

      I am sitting here looking at a site designed primarily in php. I am wondering how many of you design this way as opposed to html/htm and why. I have been designing sites for many years but always html. What should I know if I take on this site?

       

      I am sorry if I am being vague but I am not sure what my question should be. I don't do php and this site is all php. I think I am asking if I should just leave it alone.

        • 1. Re: php elements vs php site
          MurraySummers CommunityMVP

          PHP and HTML co-exist nicely.  Just because your site's pages have a PHP extension, though doesn't necessarily imply that the pages contain ANY PHP scripting.  I'll frequently do this because if I ever DO need to add scripting to the pages, I don't have to worry about changing filenames.

           

          Since PHP and HTML have fundamentally different uses, and since both can co-exist in a single page (example.php), and since the HTML that is in that page is still used for the content (whether it's delivered by PHP or not), and since the CSS on the page will still determine the presentation of the page's content, it's not useful to think in terms of "this is a PHP site" or "this is an HTML site".  They are all HTML sites in one way or another.

           

          What should I know if I take on this site?

           

          You should definitely know PHP!

           

          If you need someone who can advise you further about this, you can contact me offlist, and I'll be happy to do so.

          • 2. Re: php elements vs php site
            Cindy- Community Member

            I sent you a private message Murray.

            • 3. Re: php elements vs php site
              MurraySummers CommunityMVP

              Thanks - I replied by regular email.