Go Back   Dedicated Server Hosting | VPS Hosting | Virtual Private Servers Forum > Support > PHP Forum
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 02-01-09, 10:49
BOD Member
 
Join Date: Jan 2009
Posts: 50
Default Is PHP easier?

I've been told that PHP is easier to learn than HTML and CSS and other things. Is this actually the case in your experience? Can PHP do as much as the others can, though?
Reply With Quote
  #2 (permalink)  
Old 02-01-09, 14:28
Super Moderator
 
Join Date: Nov 2008
Posts: 752
Smile

PHP is certainly a very good programming language and can do almost everything as HTML and CSS. However, HTML is quite simple in comparison to PHP. PHP was invented quite a long time before HTML was and hence HTML is more advanced than PHP is. PHP is also a very good programming language and I think it is very good if you wish to design your webpages. HTML is also a very good programming language and I think it basically depends on your requirements as to which programming language you should choose. If you are starting to learn a programming language then I would suggest you to learn HTML as it is easier to learn and is a quite good programming language.
Reply With Quote
  #3 (permalink)  
Old 02-01-09, 21:07
BOD Member
 
Join Date: Jan 2009
Posts: 49
Default

I personally think that HTML and CSS are easier to learn then PHP. PHP can do quite a few things, but I don't think it is a good choice for learning programming. I would suggest that you learn HTML/CSS and once you have mastered that, then try your hand at PHP
Reply With Quote
  #4 (permalink)  
Old 02-02-09, 11:43
BOD Member
 
Join Date: Jan 2009
Posts: 177
Smile

Well, I do not have an idea about CSS but HTML is certainly easier in comparison to PHP and I agree to HappyNerd on this but I think if you learn HTML there is not need to learn PHP as HTML can do all the tasks which can be done through PHP.
Reply With Quote
  #5 (permalink)  
Old 02-02-09, 11:56
BOD Member
 
Join Date: Jan 2009
Posts: 50
Default

Okay then, HTML it is. I must have misunderstood something when reading about PHP, obviously. I'll work on expanding my knowledge of HTML beyond the basics that I've already learned.
Reply With Quote
  #6 (permalink)  
Old 02-02-09, 18:50
BOD Member
 
Join Date: Nov 2008
Posts: 61
Default

The PHP code is executed by the server when the page is accessed and the resulting output comes in HTML within the Web page. When a user accesses a PHP page, his Web browser only gets sent the HTML code, since the server has processed the PHP code in the background. Most PHP pages are processed so quickly that it does not noticeably slow down the loading of the Web page.

The .php extension is important, since it tells the Web server that the page may include PHP code. Therefore, it must be run through the server's PHP engine before being sent to a client's Web browser. This allows dynamic content to be generated each time the Web page is loaded, based on the variables included in the PHP code. For example, PHP pages may load objects such as the current date and time, data from form fields submitted by a user, or information from a database. Still, once the page reaches the user's Web browser, everything is formatted as HTML.
Reply With Quote
  #7 (permalink)  
Old 02-03-09, 20:14
BOD Member
 
Join Date: Jan 2009
Posts: 98
Default

I think you might have heard the opposite and got it mixed up as honestly I think it'd be pretty hard to learn PHP without knowing HTML. As for CSS, it would help to learn that before going onto PHP but I wouldn't say it's 100% necessary. However, I do recommend that you get a good grasp of HTML before venturing onto PHP even if you just want to do something simple with it.
Reply With Quote
  #8 (permalink)  
Old 02-04-09, 05:12
BOD Member
 
Join Date: Jan 2009
Posts: 73
Default

You have to think of php as a totally different thing than html and css - css is all about the way that your website will look - things like color schemes and fonts. Html is more like the structure of your site - where various boxes go. These are both separate from the content of your site (the words and pictures) and again spearate from the php - the php is like the glue that takes the stylesheet (css) the structure (html) and the content (words and pics) and sticks them together.
Reply With Quote
  #9 (permalink)  
Old 02-04-09, 10:59
BOD Member
 
Join Date: Feb 2008
Posts: 69
Default

I think CSS is easier than php. I learned CSS in less than two weeks.
Reply With Quote
  #10 (permalink)  
Old 02-04-09, 11:11
Super Moderator
 
Join Date: Nov 2008
Posts: 752
Smile

I agree to Sharron. CSS is much easier than PHP. But I think the easiest among all the three i.e. PHP, HTML and CSS is HTML. I have used all the three and according to me the codes of HTML can be remembered more easily than the codes of PHP and CSS. However, it depends on you also.
Reply With Quote
  #11 (permalink)  
Old 02-05-09, 16:04
BOD Member
 
Join Date: Jan 2009
Posts: 51
Default

I would say that it is harder to learn that simple hmtl, but at the same time it is hard to compare because php can do so much more and is more of a true programming language, where html is not really programming, it is just tagging.
Reply With Quote
  #12 (permalink)  
Old 03-10-09, 05:25
BOD Member
 
Join Date: Jan 2009
Posts: 171
Default

PHP is not that difficult to learn if you already know or have a basic understanding of HTML and some scripting knowledge. The difference is that PHP uses symbols like semi-colon, asterisk, underscore, dot and others. It might be confusing for most beginners out there but if they continue to master PHP, they will find it easy to learn.
Reply With Quote
  #13 (permalink)  
Old 03-10-09, 13:15
BOD Member
 
Join Date: Mar 2009
Posts: 24
Default

PHP is easy to learn if you know C or C++. The syntax is very similar (and very similar to anything thats based on C/C++ syntax wise. HTML is totally different syntax to that of PHP and CSS, the best thing to do is to forrow a couple of the online tutorials.
Reply With Quote
  #14 (permalink)  
Old 05-29-09, 07:53
BOD Member
 
Join Date: May 2009
Posts: 50
Default

Is there a place online to take free php classes? I know html but I don't know anything about PHP and from what I've been reading, it looks like I'm going to need to get friendly in the PHP world.
Reply With Quote
  #15 (permalink)  
Old 05-30-09, 09:52
BOD Member
 
Join Date: May 2009
Posts: 49
Default

If you're interested in learning PHP, then I can recommend the tutorials at W3schools, Tizag, and php dot net. I haven't found any free PHP training courses online, though (most seem to be paid services), but you can check your local library to see if the have any books on the subject. You might also want to test your scripts before uploading them to your server, so I also recommend XAMPP for local testing.
Reply With Quote
  #16 (permalink)  
Old 06-08-09, 08:06
BOD Member
 
Join Date: May 2009
Posts: 50
Default

Quote:
Originally Posted by iamsam View Post
If you're interested in learning PHP, then I can recommend the tutorials at W3schools, Tizag, and php dot net. I haven't found any free PHP training courses online, though (most seem to be paid services), but you can check your local library to see if the have any books on the subject. You might also want to test your scripts before uploading them to your server, so I also recommend XAMPP for local testing.
Thanks, I was looking at Tizag the other day and it seems like it just might be the ticket for me. I haven't looked at XAMPP yet but will do so today.
Reply With Quote
  #17 (permalink)  
Old 06-09-09, 23:21
BOD Member
 
Join Date: Jun 2009
Posts: 57
Default

PHP is way too confusing for me. I know it's just logic, so people say it should be easy to understand, but looking at a PHP code, it might as well be some alien language. HTML is a lot easier — opening tags, closing tags, and arranging them in the proper order... heck, one can put up a simple HTML page after only a few minutes of study.
Reply With Quote
  #18 (permalink)  
Old 06-14-09, 11:41
BOD Member
 
Join Date: May 2009
Posts: 50
Default

I know HTML and I've been learning PHP, but I don't know anything about CSS. For me, PHP isn't all that hard, but I think that CSS would be over my head. I still may try my hand at it once I get the PHP down.
Reply With Quote
  #19 (permalink)  
Old 06-15-09, 11:13
BOD Member
 
Join Date: Jun 2009
Posts: 65
Default

I've been trying to learn PHP for a while now, but so far all I can do is modify existing code a little. I'm still a long way off from writing my own scripts. I think it's all the math that trips me up. >_<
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 18:37.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2008, BODHost.com. All rights reserved.