Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Should i learn PHP or HTML first? (https://www.warriorforum.com/programming/986538-should-i-learn-php-html-first.html)

dalinkwent6 29th August 2014 04:31 AM

Should i learn PHP or HTML first?
 
Which is better for IM?

holla22 29th August 2014 05:01 AM

Re: Should i learn PHP or HTML first?
 
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.

annbose2 29th August 2014 05:07 AM

Re: Should i learn PHP or HTML first?
 
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. :)

Jack Gordon 29th August 2014 05:26 AM

Re: Should i learn PHP or HTML first?
 
html will be simpler - and since php builds html pages, it will be much harder to learn it without knowing html first.

Michael71 29th August 2014 05:56 AM

Re: Should i learn PHP or HTML first?
 
Quote:

Originally Posted by Jack Gordon (Post 9480510)
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

Geraldm 29th August 2014 06:37 AM

Re: Should i learn PHP or HTML first?
 
Learn HTML first since PHP is all about generating dynamic HTML pages - You need to know what you're creating first! ;)

Valdor Kiebach 29th August 2014 06:45 AM

Re: Should i learn PHP or HTML first?
 
Make sure you learn HTML5 not just HTML.
Then progress onto php when you need more functionality.

Jack Gordon 29th August 2014 07:09 AM

Re: Should i learn PHP or HTML first?
 
Quote:

Originally Posted by Michael71 (Post 9480559)
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?

Nuke07 30th August 2014 08:27 AM

Re: Should i learn PHP or HTML first?
 
Quote:

Originally Posted by dalinkwent6 (Post 9480411)
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

NobleSavage 30th August 2014 08:46 AM

Re: Should i learn PHP or HTML first?
 
Quote:

Originally Posted by Jack Gordon (Post 9480673)
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

NobleSavage 30th August 2014 08:56 AM

Re: Should i learn PHP or HTML first?
 
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.

beerad 30th August 2014 03:35 PM

Re: Should i learn PHP or HTML first?
 
HTML is the first learning curve then you should then dive into PHP. Maybe tackle a framework

terence55 1st September 2014 04:37 AM

Re: Should i learn PHP or HTML first?
 
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.

JacobS 1st September 2014 07:46 AM

Re: Should i learn PHP or HTML first?
 
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.

usemyteam 1st September 2014 08:17 AM

Re: Should i learn PHP or HTML first?
 
You can do both but HTML is the first language you have to learn. Then follow CSS, JS and PHP.

mhowe91 3rd September 2014 07:12 AM

Re: Should i learn PHP or HTML first?
 
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.

MarkYoung 3rd September 2014 11:19 AM

Re: Should i learn PHP or HTML first?
 
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.

mikea12 4th September 2014 01:50 PM

Re: Should i learn PHP or HTML first?
 
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.

ddev 5th September 2014 10:32 AM

Re: Should i learn PHP or HTML first?
 
HTML First. Then PHP will open many others (like WordPress Plugin Development).

ggwp 5th September 2014 12:51 PM

Re: Should i learn PHP or HTML first?
 
Basics first so learn HTML first!

jasonthewebmaster 5th September 2014 01:48 PM

Re: Should i learn PHP or HTML first?
 
Irrelevant question because without knowing html basics you won't ever understand php.

Gary77 5th September 2014 07:19 PM

Re: Should i learn PHP or HTML first?
 
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.

clevelandslim 5th September 2014 10:44 PM

Re: Should i learn PHP or HTML first?
 
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.

IonutBajescu 6th September 2014 07:17 AM

Re: Should i learn PHP or HTML first?
 
Learn how to use the a tag, and you are done, now you can learn php.

HTML a tag

HomeBizNizz 6th September 2014 01:49 PM

Re: Should i learn PHP or HTML first?
 
Quote:

Originally Posted by Michael71 (Post 9480559)
php builds nothing, stop talking crap!

Oh yeah?
What does power this forum?

Quote:

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
:D

Member8200 30th September 2014 12:33 AM

Re: Should i learn PHP or HTML first?
 
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.

newgadget123 30th September 2014 03:46 AM

Re: Should i learn PHP or HTML first?
 
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.


All times are GMT -6. The time now is 07:58 AM.