| View previous topic :: View next topic |
| Author |
Message |
Muazam Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 May 2006 Posts: 1067 Location: Pallet Town
|
Posted: Fri Jun 13, 2008 9:46 am Post subject: HTML, PHP Easy to learn? |
|
|
Hey, I was wondering if html and Php is much the same?
If I were to learn one of them which should I?
And which is easier to learn?
I want to make my own layouts, I always get a friend to code for me.
Thanks.
|
|
| Back to top |
|
 |
Lorrenzo Moderator
Reputation: 4
Joined: 02 Jun 2006 Posts: 3744
|
Posted: Fri Jun 13, 2008 10:09 am Post subject: |
|
|
HTML is easy.
I don't know much of PHP.
But PHP allows lots more features, so I'm guessing it's the harder to learn.
Some PHP + HTML are very similar.
_________________
LAWLrrenzolicious |
|
| Back to top |
|
 |
Localhost I post too much
Reputation: 0
Joined: 28 Apr 2007 Posts: 3402
|
Posted: Fri Jun 13, 2008 10:17 am Post subject: |
|
|
PHP is not very similar to HTML... do not listen to the above...
The only similarities between HTML and PHP is they are both web based programming languages.
How to put out text in HTML:
Save it as a .html and your done!
How to put out text in PHP:
<?php
echo "Hello World";
?>
Save as ,php and upload to your server.
Also, php allows lots and lots more things than HTML.
Learned PHP quite quickly... You can too!
|
|
| Back to top |
|
 |
Muazam Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 May 2006 Posts: 1067 Location: Pallet Town
|
Posted: Fri Jun 13, 2008 10:55 am Post subject: |
|
|
| I see, I guess I go for Php then. Thanks for the replies.
|
|
| Back to top |
|
 |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Fri Jun 13, 2008 3:36 pm Post subject: |
|
|
Knowing HTML is necessary for PHP.
The html-basics at least.
You can't do stuff like tables or display images or whatever with php.
But it's really worth it, and it's very easy.
You should do it.
|
|
| Back to top |
|
 |
Colmrulz Master Cheater
Reputation: 0
Joined: 09 Oct 2007 Posts: 301
|
Posted: Fri Jun 13, 2008 5:26 pm Post subject: |
|
|
learn both, theres a really really helpful video on HTML on youtube,
check it out, I learned the basics in like a day.
|
|
| Back to top |
|
 |
Localhost I post too much
Reputation: 0
Joined: 28 Apr 2007 Posts: 3402
|
Posted: Fri Jun 13, 2008 6:00 pm Post subject: |
|
|
| rEakW0n wrote: | Knowing HTML is necessary for PHP.
The html-basics at least.
You can't do stuff like tables or display images or whatever with php.
But it's really worth it, and it's very easy.
You should do it. |
Thats where you are wrong, there are two ways to put HTML in PHP!
| Code: | | <?php yourStuffHere () ?> HTML HERE <?php morePhpStuff ?> |
or
| Code: | <?php
echo "words";
echo "<b /> Hey its one line down. <b /> Hey this is another line down!";
?> |
You just insert the HTML inside echo ""; and thats it!
_________________
|
|
| Back to top |
|
 |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Sat Jun 14, 2008 5:21 am Post subject: |
|
|
| Bam! wrote: | | rEakW0n wrote: | Knowing HTML is necessary for PHP.
The html-basics at least.
You can't do stuff like tables or display images or whatever with php.
But it's really worth it, and it's very easy.
You should do it. |
Thats where you are wrong, there are two ways to put HTML in PHP!
| Code: | | <?php yourStuffHere () ?> HTML HERE <?php morePhpStuff ?> |
or
| Code: | <?php
echo "words";
echo "<b /> Hey its one line down. <b /> Hey this is another line down!";
?> |
You just insert the HTML inside echo ""; and thats it! |
Yes, I know.
But it's still html what you put in the echo "" or ?> <?php.
|
|
| Back to top |
|
 |
Missi0n Grandmaster Cheater
Reputation: 3
Joined: 20 Jul 2007 Posts: 820 Location: Around
|
Posted: Sat Jun 14, 2008 6:09 am Post subject: |
|
|
Yep, HTML is very easy to learn.
Im trying to learn some PHP as well.
_________________
☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭☭
|
|
| Back to top |
|
 |
|