1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

PHP [Help] PHP And Html

Discussion in 'Web Development' started by bog800, Aug 24, 2008.

  1. bog800

    bog800 New Member

    Is There Any Way I Can Change A PHP To Html
     
  2. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    Html and php are two different languages, yet go hand in hand.
    If you were to have a page written in Html you could just change the file extension to php and it would run just fine, but you can not change a page written in php with just a extension change. Confused don't be.

    PHP is an open-source language, used primarily for dynamic web content and server-side applications. It is often pointed to as the main competitor with:
    • Microsoft's C# - Visual Basic.NET - ASP family,
    • Sun's Java - JSP
    • Macromedia's ColdFusion
    • CGI -
    php syntax is different than html.

    HTML (Hypertext Markup Language) is the set of markup symbols or codes inserted in a file intended for display on a World Wide Web browser page. The markup tells the Web browser how to display a Web page's words and images for the user.

    So the answer is kinda, though you would have to know both languages and convert it by hand. If you have any srcipt in php that is indended to run something on the server, then no that will not get converted.

    I would have to say you have your work cut out for you. Hey it's a great way to learn as both languges come easy.
     
  3. bog800

    bog800 New Member

    thank you For The Briefing