Should i learn PHP or HTML first?

26 replies
Which is better for IM?
#html #learn #php
  • Profile picture of the author holla22
    I would say learn both. HTML will be for the client facing stuff and PHP for functionality type stuff and interacting with databases and so on, on the server side (backend).

    Also try to learn JavaScript and CSS with HTML.
    {{ DiscussionBoard.errors[9480467].message }}
  • Profile picture of the author annbose2
    Learning is never ending,you can learn whichever you want.But I would like to suggest that let yourself learn one thing best and become an expert.Other will work itself then.
    {{ DiscussionBoard.errors[9480480].message }}
  • Profile picture of the author Jack Gordon
    html will be simpler - and since php builds html pages, it will be much harder to learn it without knowing html first.
    {{ DiscussionBoard.errors[9480510].message }}
    • Profile picture of the author Michael71
      Originally Posted by Jack Gordon View Post

      html will be simpler - and since php builds html pages, it will be much harder to learn it without knowing html first.
      php builds nothing, stop talking crap!

      html and css are responsible for everything related to the front end.

      HTML - Wikipedia, the free encyclopedia

      Cascading Style Sheets - Wikipedia, the free encyclopedia

      PHP - Wikipedia, the free encyclopedia
      Signature

      HTML/CSS/jQuery/ZURB Foundation/Twitter Bootstrap/Wordpress/Frontend Performance Optimizing
      ---
      Need HTML/CSS help? Skype: microcosmic - Test Your Responsive Design - InternetCookies.eu

      {{ DiscussionBoard.errors[9480559].message }}
      • Profile picture of the author Jack Gordon
        Originally Posted by Michael71 View Post

        php builds nothing, stop talking crap!
        Busted. I am not a programmer.

        So, is it your contention that html should not be learned first?

        Please enlighten the group with your reasoning.

        Or are you just getting worked up over semantics?
        {{ DiscussionBoard.errors[9480673].message }}
        • Profile picture of the author NobleSavage
          Originally Posted by Jack Gordon View Post

          Busted. I am not a programmer.

          So, is it your contention that html should not be learned first?

          Please enlighten the group with your reasoning.

          Or are you just getting worked up over semantics?
          He is getting worked up over semantics. You can write a PHP script that generates HTML. Code that writes code is the way the entire system works starting with CPUs and machine code all the way to web pages.

          From the PHP manual: "PHP and HTML interact a lot: PHP can generate HTML, and HTML can pass information to PHP.

          PHP: PHP and HTML - Manual
          {{ DiscussionBoard.errors[9483100].message }}
          • Profile picture of the author NobleSavage
            To answer the OPs question: you will not find a correct answer. It's an endless debate that will never end. You just have to pick a place and start. One thing will lead to the next.
            {{ DiscussionBoard.errors[9483122].message }}
      • Profile picture of the author HomeBizNizz
        Originally Posted by Michael71 View Post

        php builds nothing, stop talking crap!
        Oh yeah?
        What does power this forum?

        vBulletin (vB) is a proprietary Internet forum software package
        developed by vBulletin Solutions, Inc., a division of Internet Brands.
        It is written in PHP and uses a MySQL database server.

        vBulletin - Wikipedia, the free encyclopedia
        {{ DiscussionBoard.errors[9500497].message }}
  • Profile picture of the author Geraldm
    Learn HTML first since PHP is all about generating dynamic HTML pages - You need to know what you're creating first!
    {{ DiscussionBoard.errors[9480630].message }}
  • Profile picture of the author Valdor Kiebach
    Make sure you learn HTML5 not just HTML.
    Then progress onto php when you need more functionality.
    {{ DiscussionBoard.errors[9480641].message }}
  • Profile picture of the author Nuke07
    Originally Posted by dalinkwent6 View Post

    Which is better for IM?
    I don't understand, why do you compare the html & php oriented to IM. IM and Coding both are different.

    BTW...i'd recommend you to go with HTML first.

    Best of Luck
    {{ DiscussionBoard.errors[9483068].message }}
  • Profile picture of the author beerad
    HTML is the first learning curve then you should then dive into PHP. Maybe tackle a framework
    {{ DiscussionBoard.errors[9483800].message }}
  • Profile picture of the author terence55
    I have studied HTML first and then PHP. The basic knowledge in HTML helped me to make the PHP scripting language a bit easier. Nowadays the PHP is getting more scope, so you should definitely learn PHP.
    {{ DiscussionBoard.errors[9486753].message }}
  • Profile picture of the author JacobS
    HTML is a markup language while PHP is a programming language. The two don't really overlap and it doesn't matter which order you learn them. It would take a few hours to learn enough HTML to be able to comfortably dive into PHP.
    {{ DiscussionBoard.errors[9487181].message }}
  • Profile picture of the author usemyteam
    You can do both but HTML is the first language you have to learn. Then follow CSS, JS and PHP.
    Signature

    Not Just “Another” Team
    UseMyTeam

    {{ DiscussionBoard.errors[9487267].message }}
  • Profile picture of the author mhowe91
    If you are new, definitely start with the basics. HTML5 and CSS3.
    A good free resource to start learning is Codecademy. They have interactive walkthroughs that are more than enough to get you started.
    {{ DiscussionBoard.errors[9492128].message }}
  • Profile picture of the author MarkYoung
    As every one else said, html is the best when you're first starting out with web programming for web marketing. And I recommend getting an html generator (not to be confused with an html editor). Html generators basically just generate single source codes.

    A good way to begin with web programming is to make a personal website, and get heavily into it, making it about all the things you like, hobbies, etc. and that's an easy way to get into coding and learning how to do it for the rest of things like IM.
    {{ DiscussionBoard.errors[9492738].message }}
  • Profile picture of the author mikea12
    Technology is advancing, but HTML has been around and will stay around even though it advances and improves all the time, HTML5 for example, but there are so many ways to get a browser to parse server side data onto the client side.

    PHP is a great but I think learning JavaScript is the best way to go, I absolutely love node.js and with node.js you can write your server side logic in JavaScript and your client side in JavaScript. Plus when you want to build an application there is a pattern regardless the language you use, so picking up programming will teach you patterns like building a RESTful API Representational state transfer - Wikipedia, the free encyclopedia

    Programming for browser applications will teach you about routes, controllers, and building a database schema. The great thing is PHP has plenty of frameworks and you will understand why it's important to pick up a framework.

    Without HTML knowledge you will not be able to come up with creative ideas for manipulating the DOM (document object model). So learn HTML first then when you understand how PHP or javascript can manipulate the DOM from data inside a database.

    Last thing, PHP never really clicked because I was more concerned about building on wordpress and I failed to realize PHP's true purpose because after writing PHP for wordpress you miss out on the fact that the whole reason wordpress is built on PHP is so that it can communicate with the database. When a user adds a post it saves in the wp database and wordpress has it's own hooks and such so that themes can hook into core functions and the database etc.

    So I recommend understanding HTML first then understanding how programming and server side languages can manipulate the html.
    {{ DiscussionBoard.errors[9495768].message }}
  • Profile picture of the author ddev
    HTML First. Then PHP will open many others (like WordPress Plugin Development).
    {{ DiscussionBoard.errors[9497816].message }}
  • Profile picture of the author ggwp
    Basics first so learn HTML first!
    {{ DiscussionBoard.errors[9498104].message }}
  • Profile picture of the author jasonthewebmaster
    Banned
    Irrelevant question because without knowing html basics you won't ever understand php.
    {{ DiscussionBoard.errors[9498215].message }}
    • Profile picture of the author Gary77
      If you are just doing Internet Marketing of existing products as an affiliate then I don't see the need to rush in and start learning PHP. You the have Wordpress platform that basically caters for everything you need in pre-building/customising websites or applications as it has a massive range of plug-ins and themes (both free and paid).

      So I would learn HTML first (which is great skill to have in doing on-page SEO and setting up new page layouts). You should the basics of CSS too which is great for fine-tuning and styling your landing pages, blog posts and squeeze pages to your liking.

      If you want to create your own website-based products THEN you could learn PHP. But anything advanced then it just makes more sense to hire somebody on Odesk or Freelancer if you have the budget (but they are fairly cheap). In the end it will save you time and money doing it like this.
      {{ DiscussionBoard.errors[9498773].message }}
  • Profile picture of the author clevelandslim
    I would advise learning HTML if you plan to work with PHP. PHP will allow your users to interact with your web application, such as a forum, but you still need something to give the site a design. That is where HTML/CSS comes into play. HTML allows you to give your site a structure, and CSS works along-side HTML and gives you the ability to style how the site looks.
    {{ DiscussionBoard.errors[9499079].message }}
  • Profile picture of the author IonutBajescu
    Learn how to use the a tag, and you are done, now you can learn php.

    HTML a tag
    {{ DiscussionBoard.errors[9499714].message }}
  • Profile picture of the author Member8200
    HTML is markup language and PHP is a programming language for web functionality.

    You'll need to learn how to write HTML and CSS first before you can understand and jump into php. HTML will give you the structure of your website and CSS will provide the design.

    Then if you wanted to add functionalities to your website, that's when PHP comes in action.
    {{ DiscussionBoard.errors[9561572].message }}
  • Profile picture of the author newgadget123
    first you should learn HTML,CSS after that you learn PHP because html is basic and scripting language which is important to learn before learning php.
    {{ DiscussionBoard.errors[9561827].message }}

Trending Topics