Nov 21, 2009
Pages: 1, 2, 3, 4, 5, 6

Php Or Html? - which do you use?

free web hosting

Read Latest Entries..: (Post #54) by Ho-oh'sRealm on Nov 5 2009, 09:59 AM.
QUOTE (Www.AnthonyLazaroni.Com @ Nov 1 2009, 01:29 PM) I prefer HTML, its a lot simpler, and you can get used to it very quick, php confuses me so.... HTMLYeah that's true, but HTML also has a limit of uses, and there's a lot of things that you can't do with HTML, and you can do with PHP. Sure, PHP is confusing, but HTML is for simple web pages, and PHP is for dynamic web pages.PHP is better for a complicated website with a lot of uses (with email forms, login forms etc.) an...
read more.
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Open Discussion > MODERATED AREA > The Internet > Web Design

Php Or Html? - which do you use?

habbovalley
Well being a HTML its easy for me but what do people use the most?
Is it HTML or PHP.
It depends really on which you learnt first.
So im gonna have a poll.Post HTML for Html and PHP for php and we will see which is more popular.

Comment/Reply (w/o sign-up)

BuffaloHELP
I use PHP because I can manipulate web pages more with PHP than HTML, like including another webpage to the current page with the command include. You can do the same with HTML but have to use bulky <object> command with register keys that's hard to remember. And coming from C++ background, I was able to understand PHP faster compare to HTML commands--especially love the FOR loop and IF, THEN commands.

However, I've been meaning to ask this question: do search engines like HTML page more than PHP page? I made few websites years ago, at the same time, one with PHP and the other one with HTML. Google, it seems, liked HTML pages better than PHP. My backlink search shows HTML cached by Google and none of my PHP cached by Google... Am I dreaming?

So, ultimately do you build with HTML (file ending) or PHP (file ending) which to choose?

Comment/Reply (w/o sign-up)

Tetraca
QUOTE(habbovalley @ Jul 3 2007, 11:36 PM) *
Well being a HTML its easy for me but what do people use the most?
Is it HTML or PHP.
It depends really on which you learnt first.
So im gonna have a poll.Post HTML for Html and PHP for php and we will see which is more popular.

That's a very unfair comparision.

HTML is a markup language. It was made to display text and stuff like that in a fancy way. PHP was made as a scripting language to do things like access files, solve mathematical problems, and do repetitive tasks easily. If you're referring to the use of PHP on the web, well, you're going to need to use HTML with PHP anyways if you want to do anything worthwhile. HTML by its own isn't very convienient to update.

Comment/Reply (w/o sign-up)

BuffaloHELP
Tetraca,

Thanks for the pointer. I guess since I use mainly to "calculate" my pages depending on the result, such as random file displaying or visitor's status value (whatever it may be) I just started to use PHP and spit out HTML command using the ECHO. This made me forget your point--PHP is really a scripting language where PHP still depends on HTML markups to render web pages.

I did find an answer to my question above...PHP or HTML and does it matter to SEO.
QUOTE
I will say though, that theirs no seo reasoning behind changing from php to html, I don't know why people worry with that. Mod_rewrite is only worth it to get url's without multiple variables.
Source

At the worse case, I can always rewrite .php to show .html by .htaccess rewrite.

Comment/Reply (w/o sign-up)

csp4.0
It depends on what web page its for. Like if you're doing a web page for some login page then use php, but just a normal page like some introduction about your self with no advanced features i.e. guestbook. Then use html. To me html is easier, but php gives you more functionality. Also if you don't want people looking at your webpage's code use php, only advanced users that know how to create web browsers can know your 'code'

Comment/Reply (w/o sign-up)

shadowx
Well as said for almost any website you need HTML, unless its one of those fancy pure css sites. So to be fair virtually 1OO% of websites use HTML so in that sense HTML is more popular, now if the question is about which language i prefer coding in i would say php because i like solving problems more than displaying info.

but in a comparison of sites with html and those using php HTML would win in terms of numbers of websites using it because you dont need t use php to make a website.


Comment/Reply (w/o sign-up)

lekrissy
I use HTML and CSS at the moment because I don't know PHP yet. I would like to learn it soon so it can update stats atuomatically so I don't have to. Example, I plan to make a fanlisting soon and PHP is great with updating member stats right away. There's lots of other reasons. I'll still use HTML though.

Comment/Reply (w/o sign-up)

etycto
while php is more flexible but it is more confusing than html and it requires a big download to code from my desktop so i prefer to use html. if i realy need php i normaly just download the scripts like wordpress or watever

Comment/Reply (w/o sign-up)

Striker9099
I don't think such a question could actually be asked... It's as if you are comparing to objects of different nature... HTML is a markup language which is the basic knowledge in web-designing; it is indispensable. While on the other hand, PHP is a server-side scripting language which allows you to execute scripts on your website. Now if you want to keep it simple for you while coding your website, you can use HTML and at the same time, use PHP... each in its right place and for its right cause.
I just want to point to something... when you want to compare, you have to choose items of like-nature. To be clearer, you can compare PHP to ASP, HTML to XML... something like that.

Comment/Reply (w/o sign-up)

Byaja
QUOTE(Striker9099 @ Jul 5 2007, 11:52 PM) *
I don't think such a question could actually be asked... It's as if you are comparing to objects of different nature... HTML is a markup language which is the basic knowledge in web-designing; it is indispensable. While on the other hand, PHP is a server-side scripting language which allows you to execute scripts on your website. Now if you want to keep it simple for you while coding your website, you can use HTML and at the same time, use PHP... each in its right place and for its right cause.
I just want to point to something... when you want to compare, you have to choose items of like-nature. To be clearer, you can compare PHP to ASP, HTML to XML... something like that.


I myself use them both alongside each other but not all the time it depends what I am designing if its a clan/game based feature i will use both but if its a security module etc i will use php and html if needed, but that question is really hand in hand. i think using one or the another is the wrong way to go but everyone is different and they not think like I do.

 

 

 


Comment/Reply (w/o sign-up)

Latest Entries

Ho-oh'sRealm
QUOTE (Www.AnthonyLazaroni.Com @ Nov 1 2009, 01:29 PM) *
I prefer HTML, its a lot simpler, and you can get used to it very quick, php confuses me so.... HTML


Yeah that's true, but HTML also has a limit of uses, and there's a lot of things that you can't do with HTML, and you can do with PHP. Sure, PHP is confusing, but HTML is for simple web pages, and PHP is for dynamic web pages.

PHP is better for a complicated website with a lot of uses (with email forms, login forms etc.) and HTML is for simple webpages with stuff like videos, links etc.

Comment/Reply (w/o sign-up)

Www.AnthonyLazaroni.Com
I prefer HTML, its a lot simpler, and you can get used to it very quick, php confuses me so.... HTML

Comment/Reply (w/o sign-up)

Soviet Rathe
QUOTE (Ho-oh'sRealm @ Oct 31 2009, 09:10 PM) *
As usual, PHP is great for making dynamic websites, which is exactly what it's for. It's very versatile, has many more uses than HTML does, and of course, often produces better results. Technically speaking, it's a fairly complicated language, and while I'm still learning it, I find it quite hard. Very hard in comparison to HTML, though xD And well, PHP is a very strong web language, in my opinion.

HTML, on the other hand, is the most basic web language there is, and it has really simple commands. Yes, it's still has a very diverse range of uses, especially for a simple yet elegant looking home page. If you couple HTML with CSS, it looks great. I use HTML in general for embedding javascript, videos, images and flash, and for some other things too.

Eh, I tend to use HTML more, although I use PHP for harder things...


agreed.
PHP and such is for scripts mainly. like a web script and forums. it can be hard but once you have mastered it everything else fades away and all you want to use is PHP tongue.gif
PHP is a server side, HTML embedded scripting language used to create dynamic Web Pages. In an HTML document, PHP script is enclosed within special PHP tags. Because PHP is embedded within tags, the author can jump between HTML and PHP and is similar to ASP and Cold Fusion instead of having to rely on heavy amounts of code to output HTML. And, because PHP is executed on the server, the client cannot view the PHP code.

PHP can perform any task that any CGI program can do, but its strength lies in its compatibility with many types of databases. Also, PHP can talk across networks using IMAP, SNMP, NNTP, POP3, or HTTP.


agreed.

HTML is the simplest form of web code there is and is very easy to learn. able to master it in less then a month from scrach. it does have a lot of limits. so you are bound to run into situations where you will have to use a more advanced form of scripting such as PHP.



Comment/Reply (w/o sign-up)

Ho-oh'sRealm
As usual, PHP is great for making dynamic websites, which is exactly what it's for. It's very versatile, has many more uses than HTML does, and of course, often produces better results. Technically speaking, it's a fairly complicated language, and while I'm still learning it, I find it quite hard. Very hard in comparison to HTML, though xD And well, PHP is a very strong web language, in my opinion.

HTML, on the other hand, is the most basic web language there is, and it has really simple commands. Yes, it's still has a very diverse range of uses, especially for a simple yet elegant looking home page. If you couple HTML with CSS, it looks great. I use HTML in general for embedding javascript, videos, images and flash, and for some other things too.

Eh, I tend to use HTML more, although I use PHP for harder things...

Comment/Reply (w/o sign-up)

shadowx
QUOTE
i think php is good for one who wants a simple and personal site
but for a company or a gig site
you will need html or .xml
according to me go with html as its nice and easy to use and also very powerful


Wrong way around. HTML is for very, very simple sites with just a few pages.

PHP is for complex sites with user interactions (forms) and stuff like that.

There can be no opinion here, this is cold hard fact!

Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Pages: 1, 2, 3, 4, 5, 6
Similar Topics

Keywords : php, html,

  1. Displaying Html In Flash
    Using ActionScript (9)
  2. Website Structure
    PHP, MySQL, HTML, etc. (3)
    Hey guys, I am a very, VERY, curious person on finding out how things work on the computer if I find
    them interesting and I can't stop thinking about the thing until I find the answer. The sooner
    I find the answer, the less time I get a headache.

    So I was wondering how websites work. I mean how
    everything would be put together. Like how a game would be put together lin....
  3. Stop Your Html Codes From Being Stolen
    Stop your Html codes from being stolen on your HTML pages. (16)
    Hello people! Obviously a lot of people use these little scripts to stop you from right clicking on
    websites/HTML pages etc. I know many many people use near enough the same kind of coding as the one
    I just made. I decided not to put this in the Tutorials section because I know alot of other codes
    do exactly the same thing as this one I am going to be sharing with you! This code may be
    re-distributed if you wish. I have no copyright on it, but please put some kind of "Thanks for the
    no right-click script". Here it is: QUOTE oncontextmenu="return false" onselectsta....
  4. Flippingbook Html Edition
    download FREE version (6)
    You can create professional online albums/books with this simple and convenient tool: FlippingBook
    HTML Edition . The main attraction with this Javascript+SWF application is the page-flipping or
    page-turning feature, like we are used to do with physical publications like books, magazines, etc.
    http://www.page-flip.com/downloads.htm this free version has several limitation however: up to 10
    pages only, and you gotta retain the copyright link embedded in it. of course there is the paid
    edition too, in case you want to use it beyond the limitations of the free version.....
  5. Naming Web Page Files
    Which way you like- MyPage.html or my-page.html or my_page.html (9)
    Everybody talks about meta tags, keywords, good title names and how they can increase page rankings,
    etc. But I was wondering whether the page name itself holds any value in indexing. Yes, I am
    talking about the web page file names (some-thing.html) NOT the one which you put in title tags. I
    am going to express my views and want to know what you think is correct. I have seen pages named in
    various ways like these: 1) my_web_page.html 2) DoYouLikeMyPage.html 3) hey-see-my-webpage.html (I
    think this way is more appropriate) 4) this.is.a.page.html (somewhat confusing) ....
  6. What Is The Best Free Html Editor?
    (24)
    im looking for any kind that is free really.... i use windows but if you have one for a different
    platfor, go ahead and add it for reference for other users. If you have one for normal text editor
    and wysiwyg, add them both. i have been using notepad as my normal html editor but im looking for
    something different... at least so i can see the different colors of the codes. Right now i am
    downloading moxilla's seamonkey suite but im not sure how good it is... i will post a review if
    i ever use one. If you have used the html editor you suggest or you just heard abou....
  7. Html Problem
    (9)
    how to make my intro page in the middle not CENTER ....
  8. Flash Media Into Html/css Website
    does anyone know how to import a flash into a webpage with transparenc (3)
    Hi I need some help , Im designing this website for school studies However, I made a flash drop down
    menu, works perfectly, but you know how flash has a background when you export it in to a SWF file?
    For example my flash is width= 800, and height = 200 but my div box on my html page for my
    navigation is only 50 px my buttons is width of 50px and the rest of the content is the drop down
    animations i want to insert it into my navigation div box but i want to set the flash background to
    transparent so that when the drop down menu comes down it overlaps the text or whateva....
  9. A Twist On Basic Authentification
    html help (4)
    Alright, i am working on a website where a number of different users from different companies will
    be looking hooking into one website. What i want is to know how i can differentiate between the
    users based on the information passed by the webserver. I've been told to that information
    will be passed along html_user(and if i have a distinct user then i can just query the database with
    that info and get what i want) But how does this work? I am sorry i know this is cryptic i'm
    kind of searching to see if this strikes a bell with anyone. So to sum, many user....
  10. Has Anybody Tried Ms Expression Web Html Editor
    It's much better than Frontpage (3)
    I was desperate to finish a site I was designing after I lost my hard drive and my software. I
    downloaded Expression Web from the Microsoft site for a 3 month free trial, and guess what? It's
    surprisingly good! Nothing like that crappy frontpage, it's standards compliant and very good
    for writing CSS. Haven't heard anybody mention the program and wondering if anybody else has
    tried it out. It's free to try from the MS site.....
  11. Where Is There A Good Site To Learn Web Html?
    (20)
    im a noob when it comes to web html to design web sites, can some one tell me where to find a good
    website that has good tutorials on how to use web html?....
  12. Css List Vs Html List
    (1)
    I am currently learning the basics of web building and i am wondering if and when you should use
    html lists or css lists? The way i see it is if you are going to make a css list you are going to
    use that list setup later and just make a html list when u just need it once? did i just answer my
    own question? or is there a web standard where you should always use css for lists? idk.....
  13. Help! Php Or Just Html?
    i want to start buliding my website. which is better, php or basic htm (16)
    i try to start this topic in webhost category but it seems like i cant. i dont have the permission
    so i just post my topic here. im sorry mod.. i want to build a website which contains: - Links to
    videos - Informations - photos - flash i don't know if i should use php or just HTML. guys,
    what are your opinions..??....
  14. A Small Html Problem
    How to display foreign characters correctly when designing a site. (5)
    I was wondering how I could solve a small problem. I was told that some people see accented and
    umlauted letters (such as " é " and " ë ") as question marks (" ? ") on my website. I come across
    the same thing sometimes when looking at websites which use non-English characters. Funnily enough,
    the other day, I looked at a site and the apostrophy ( ' ) was also shown as a question mark.
    That is a very common character usually, I would think. I thought it had something to do with the
    character encoding settings, and let me also mention I use Mozilla Firefox as my brows....
  15. Psd --> Editable Html
    (4)
    Here's the deal. I am new at working with web objects in photoshop. I have CS3, and I created a
    really nice template. I'm told I have to do something with slicing. So I have the template, and
    it has images, buttons, and text on the buttons, and text fields, etc. How can I export this to HTML
    and images, and be able to open it up in dreamweaver in an editable web page? I've tried
    exporting to "web and devices" and exporting as HTML and Images, but when I open it up in
    dreamweaver, it looks right, but it is all images. Thanks....
  16. I Buy A Book "html,xhtml&css Sixth Edition" By Elizabeth Castro
    (2)
    After few years when I take a look of the web, I find that what I have learnt before is totally
    obsolescent, the standard is changed a lot. So I go to book store to look for a book to learn it
    from the beginning. I find there is too many books about web design. What I want is a book can tell
    me the situation about the popular using method. After looking for about 1 hour, I find this book
    "HTML,XHTML&CSS Sixth Edition" which was writen by Elizabeth Castro. I think this book is meet the
    needs of me. What I want is to get the information of the new standard of web desig....
  17. How To Use Html In Flash
    I need to import html into an iframe like box (1)
    As of this post I am trying to convert my current html website to a flash site. I use iframes in my
    html site and i am wondering if i can import html into a dynamic text box. I am wondering if i will
    need to redo the entire design in flash or if I can just import the html. If anything is confusing,
    please tell. Thanks in advance for the help /biggrin.gif" style="vertical-align:middle" emoid=":D"
    border="0" alt="biggrin.gif" />....
  18. Best Free Html/flash Templates
    (13)
    Before I began creating websites myself, i used templates. The best selection of free ones is here:
    TemplatesBox . Tons of free HTML and Flash templates (although you need to pay for the nicer ones),
    I'm not affiliated with them I just thought there were alot of threads looking for templates and
    this is a great resource.....
  19. Besides Html / Css
    what kind of of coding do you use in your sites? (11)
    Hey guys I have a question for normal sites what kind of coding do you use besides the regular HTML,
    and CSS I realize for logins and forums etc.. php is common and the language of choice for database
    interaction but besides that for more cosmetic appealing appearence do you use anything else? Im
    asking this question cause im thinking of learning Java but im not sure how much that would help my
    web site design skills. And if thats not the one(in your opinon) to learn if I want to get better
    at website coding which one is? I have a shallow knowledge of VB and C++ but c....
  20. Tsw Webcoder
    Anyone use this html editor? (3)
    Hi all, does anybody use the TSW webcoder? I ave been using this to do my site for about 3 months
    now and it's great. It's easy to use and just got alot of functions. Has anyone got te
    newest version of it? and wats new in the new version? Thanks....
  21. Tools For Photo Album With Html
    (12)
    I'm new in web design and I want to build a web site where my family can view thumbnail pages
    with family photos and select the thumbnails to view the original photo. As a starter I thought
    about a couple of thumbnail pages to increment or decrement. I want to generate the pages with a
    free tool in order to review the html code for self learning purpose. Is this a good approach and is
    there any free tool suitable for this? Tillo....
  22. Html Editor
    Text editor or HTML Editor (7)
    What is a HTML editor? A HTML editor i basically a text editor but it has some advanced
    features.The important one being able to translate written text into HTML codes.Nowadays everyone
    uses HTML editors but still there are some guys doing it over a Text editor What do you fell about
    this At present iam creating a webpage with MS FP .It is user friendly and actually a very good
    tool for a beginner.Beginers look no further than FP.Also one cannot expect,atleast 99% ,a flop show
    from Microsoft.It has an integrated FTP. But all sites do not support FP extensi....
  23. How To Create Html Feedback Form
    (3)
    Hello... I want to know a very simple thing...For example i want to add a simple HTML form on my
    website ,.for example , something like User Name (text box) User Email: (text box) COmments (text
    box) Submit form Reset Form Just like that, so that when user click on UBMIT form, button, it
    takes all the inputs from the above boxes and sends to a pre defined email adress.and on submitting
    it shows a new thanks page. Well..there are some forms when you fll everything, they open ur default
    mailbox and then send etc etc i want that to send direct (i.e. without opening the ....
  24. Html Editor
    some few questions.. (16)
    Hello, I have some few questions about a HTML Editor... :/ does it help make your site easier? what
    does it do? where can i get a good one, any recommendations? If it helps make your site easier then
    i need one /rolleyes.gif' border='0' style='vertical-align:middle' alt='rolleyes.gif' /> thanks
    for your help .. -Microsoft....
  25. Features Of Coffeecup Html Editor 2005
    (4)
    QUOTE The CoffeeCup HTML Editor is two editors in one. If you know HTML or want to learn more,
    use the code editor that has set the standard since 1996. To make pages fast or without knowing
    HTML, use the drag and drop WYSIWYG Visual Editor. You also can go back and forth between the Code
    and Visual Editors to create remarkable Web sites in a snap. CoffeeCup comes with more than 100
    DHTML and JavaScripts, a DHTML Menu wizard, 25,000 graphics and photos including more than 1,000 XP
    Style Icons, and access to more than 500 free Web site templates. It also has built-in....
  26. Formatting Php With Html
    (4)
    PHP is only a scripting language, meaning you will need HTML to make the output look good to the
    user. However if you insert HTML normally PHP will generate some errors, so read this tutorial to
    learn exactly how you need to format HTML for it to work with PHP. Lets say we want to display to
    our users the following: Welcome to my website! In HTML the code for that would be: Welcome to
    my website! However in PHP we need to add a forwards slash () in front of every quotation mark so
    that we dont interfere with the quotation marks in the PHP functions. Lets take a lo....
  27. Html Code Problem
    (7)
    Hi! Im working on a little HTML project for myself and am teaching myself.. So I would like to know
    how to set roll over effects and a short guide on it! What I mean is, I would like to know the code
    of making the mouse over on links make the links go red... Or if anyone can give me a way to do it
    on frontpage, because I cant find it! Thnx in advance!....
  28. Free Html Editor?
    (37)
    Hi, I'm looking for a free HTML editor. Not one of those new-fangled WYSIWYG ones... the only
    conditions are.... * Its free * It has syntax highlighting * It has a preview mode (like on
    dreamweaver or whatever). * It doesn't have any spy/adware! I figured that theres probably a
    great program out there somewhere, I just havent found it yet. I used to use one that I liked but
    since the Great Hard Drive Crash of 2004 it has disappeared from my PC, and I can't find
    anywhere to download it either.... Which (free) editor do you use? - Vacant....
  29. How To Make Pure Html Preloader?
    anyone know's the answer? (7)
    Hello all today i run out on this website and I found it very interesting... Anyone know how they
    did that page? and im specialy interested in that HTML preloader... ?? how to make one??....
  30. Html Editors That Work With Asp Php
    wondering mind (10)
    Out of the many editors that i have seen not to many support asp or php those that do its more of
    converting so i was wonder which ones do have full blow asp and php capabilities on them?....

    1. Looking for php, html,
Similar
Displaying Html In Flash - Using ActionScript
Website Structure - PHP, MySQL, HTML, etc.
Stop Your Html Codes From Being Stolen - Stop your Html codes from being stolen on your HTML pages.
Flippingbook Html Edition - download FREE version
Naming Web Page Files - Which way you like- MyPage.html or my-page.html or my_page.html
What Is The Best Free Html Editor?
Html Problem
Flash Media Into Html/css Website - does anyone know how to import a flash into a webpage with transparenc
A Twist On Basic Authentification - html help
Has Anybody Tried Ms Expression Web Html Editor - It's much better than Frontpage
Where Is There A Good Site To Learn Web Html?
Css List Vs Html List
Help! Php Or Just Html? - i want to start buliding my website. which is better, php or basic htm
A Small Html Problem - How to display foreign characters correctly when designing a site.
Psd --> Editable Html
I Buy A Book "html,xhtml&css Sixth Edition" By Elizabeth Castro
How To Use Html In Flash - I need to import html into an iframe like box
Best Free Html/flash Templates
Besides Html / Css - what kind of of coding do you use in your sites?
Tsw Webcoder - Anyone use this html editor?
Tools For Photo Album With Html
Html Editor - Text editor or HTML Editor
How To Create Html Feedback Form
Html Editor - some few questions..
Features Of Coffeecup Html Editor 2005
Formatting Php With Html
Html Code Problem
Free Html Editor?
How To Make Pure Html Preloader? - anyone know's the answer?
Html Editors That Work With Asp Php - wondering mind

Searching Video's for php, html,
See Also,
advertisement


Php Or Html? - which do you use?

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com