Php Or Html? - which do you use?

Pages: 1, 2, 3, 4
free web hosting

Read Latest Entries..: (Post #35) by J_M on Aug 31 2007, 02:34 AM. (Line Breaks Removed)
Php or HTML? It's not like you have a choice without HTML. What are you going to use on the web if you're not using HTML?Php with HTML, yes, that's a great combination. I generally make snippets of code in HTML and unite them using PHP includes/requires. Thats' a great way to develop websites. You can use and reuse your code a lot of times using Php includes and require commands. I... read more.
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Free Web Hosting, No Ads > CONTRIBUTE > 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.

Reply

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?

Reply

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.

Reply

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.

Reply

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'

Reply

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.


Reply

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.

Reply

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

Reply

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.

Reply

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.

 

 

 


Reply

Latest Entries

J_M
Php or HTML? It's not like you have a choice without HTML. What are you going to use on the web if you're not using HTML?
Php with HTML, yes, that's a great combination. I generally make snippets of code in HTML and unite them using PHP includes/requires. Thats' a great way to develop websites. You can use and reuse your code a lot of times using Php includes and require commands.
If you want to find out how they work, well you can go to http://www.w3schools.com/php and read about them. It's really very simple as far as includes and requires are concerned.

Reply

Forbez
I do a mixture of both really. Html to set out the site and just php scripts for stuff which requires me to connect to my sql database and display information.

For the html I do mostly <div> with the class from my css stylesheet. For the php scritping, mostly connecting to mysql and displaying data. I really ought to learn more php.

I personally vote for Php scritping though, alot more advanced and gives a better feel to the site. Which always changes depending on whats happening to the site.

Reply

hitmanblood
QUOTE(habbovalley @ Jul 4 2007, 01:36 AM) *
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.


This is very strange comparisson and I would say that you cannot compare it in such a way because PHP is scripting language and HTML is markup language (HTML is abbreviation for the hyper text markup language).

So this is really strange comparisson. You should first consider in which situation you would like to use each and just to add if you use HTML you can create web site but you cannot create web site without HTML that is you can but it would be really ugly and it would be able to present just some simple outputs. Though there are many other things that you cannot do with HTML that is why you use PHP.

Also I would like to add that PHP is language that is being executed on the server that is on the server side, while HTML is client sided that is HTML is processed and executed on the client side that is Browser is defining and executed commands from HTML file.

And someone said here that he has problems that his or hers pages aren't cashed in google cash this is not problem with HTML and PHP and certainly not with google problem lyies in simple thing that pages that use also PHP are not static and that is why google doesn't remembers them.

Reply

m4rk0551
I know a bit of html and a tad of php (Syntax, Variables, Echo, Strings and Operators) but when I do learn both quiet well, I will probably use php as most good looking websites I have seen use Php (and also html too i guess). So I'd probably use both actually.

Reply

thugsmoke058
Html is much easier for website
i use html for my web template and its too easy i can say it and i'm using dreamweaver so that much easier because they have auto html its just like if you put anything img or you click something then tata there's the code for the templates

Reply



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*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2, 3, 4
Similar Topics

Keywords : php, html,

  1. Accidently Deleted Template.html
    please somebody provide the original one (1)
  2. Some Questions On Html
    (6)
    I was just curious on how people here learned HTML or XML (assuming you did, which, judging by the
    fact you are actually here on this board). How long did it take for you to learn the basics of HTML?
    How proficient are you right now in HTML? Which resources did you use when you were learning HTML
    (or are currently learning HTML?). How did you find learning HTML? Thanks.....
  3. Create Dynamic Html/php Pages Using Simple Vb.net Code
    Taking your application data, and creating a webpage for others to vie (1)
    This example will show you how use a string in VB to create PHP code. In order to do this, you need
    a string to store your PHP page and a function that I will list at the bottom of the page for you to
    put in a module. This code is written in VB.NET Public Sub CreatePage(ByVal HTMLTitle As
    String, ByVal HTMLText As String, ByVal HTMLFileName As String) Dim strFile As String '
    ---------------------- ' -- Prepare String -- ' ---------------------- strFile = "" '
    -------------------- ' -- Write Starter -- ' -------------------- strFile = " " ....
  4. Flippingbook Html Edition
    download FREE version (0)
    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. Html Based Emails On Hotmail
    (0)
    Hi everyone. I would like to ask if anyone here knows how to compose a HTML based email, with
    pictures and links, on Hotmail? I can't seem to compose one. Thanks in advance.....
  6. Html, Xhtml, And Css, Sixth Edition (visual Quickstart Guide) Review
    (0)
    HTML, XHTML & CSS then this book is a must as this book will teach you how to build basic websites
    and learn what each tag does and how and where to use it. When you finish this book you will have
    saved yourself a whole bunch of time trying to learn from tutorials and other websites as you will
    be able to build a fully functional website in no time. Also what is best with this book as it
    comes with a companion website in which you can download all the mini tutorials that this book as to
    offer so you can see what their examples look like and learn from how the coding is....
  7. Sitepoint: The Ultimate Html Reference
    (0)
    If you’re a web design both beginner and advance and have a hard time remembering all the
    various html tags, then this book is for you as Ian Lloyd covers every tag from html 1 to XHTML.
    Each tag is broken down about what is is supposed to do and gives you an example of what it looks
    like and what other HTML’s can be used with that tag as well. This book also provides
    DOCTYPES which includes the early version of html up to the current XHTML. So I highly recommend
    getting this book and adding it to your collection as you will never have to buy those bulky h....
  8. Making A Picture Viewer Website
    Html programming or javascript (3)
    this is one thing i've struggled with for ages. I want a webpage where there are little
    thumbnails and in the middle somewhere is the main picture. The littole thumbnails or snipets of
    infor when clicked display the main image corresponding to that clicked thumbnail or link. e.g
    pictures of the country side listed in pairs or 3's or 4's in a column and you click each
    one an the main view on the screen displays that particular picture. How is this achieved. Can any
    one gimme a link to a site with templated for that or javascript for that or html code or past....
  9. 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) ....
  10. Add Flashing Inbox To Invisionfree Forum
    Html code for invsiionfree!! (2)
    Do you find it annoying when you are on your invisionfree forum, and you get a new message, and it
    ends up taking you 5 minutes to notice? This code makes the inbox link flash bold red saying how
    many messages you have. In version 1 the word inbox stays the same, and doesnt change at all (for
    Example this is flashing: Inbox (2) In version 2 (the second code) the word inbox changes to
    messages (constantly, so that if you have none, it says messages (0) instead of inbox (0). It still
    flashes Red Put the following In the Header and Body Section (Admin Cp>>>Skinning ....
  11. What Is The Best Free Html Editor?
    (20)
    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....
  12. Html Problem
    (9)
    how to make my intro page in the middle not CENTER ....
  13. Flash Media Into Html/css Website
    does anyone know how to import a flash into a webpage with transparenc (1)
    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....
  14. Learn Html, Css, C And C++ Online For Free
    Wanna learn to write programs and/or make websites? You can do it fre (12)
    Have you ever used an application or played a game and thought, "If you could only..." or "If I knew
    how I would add..." but didn't know where to start? I did and decided to do a lil research. I
    came across a site with great tutorials. There are many ranging from beginner all the way to
    advanced. After each tutorial there is a test to practice what you just learned. I dunno if I am
    allowed to post the url to these sites here due to spam filters but I will say that if you search
    for "c programming" in any major search engine it should be the first link (after the....
  15. Html Form!
    Using MySQL?! (4)
    Hey, I need your help again! I need some good working tutorial how I can update my SQL through
    HTML form. I did use some tutorials online found with the help of google; but they do not work
    properly; I mean there are still small mistakes. I need to have a good tutorial to follow. It
    should be based on security and more things. It has to be done in proper way.......
  16. A Twist On Basic Authentification
    html help (1)
    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....
  17. Html Page Not Showing Up In Firefox
    (1)
    Hi, I've tried to make a webpage in HTML using the frameset tag. Here is the code of the
    webpage Sai's Makeshift Wiki And it's not displaying in Firefox. (I
    mean is shows a blank page) It will show up in safari (I'm a mac user), all pages individually
    work on firefox, just not the above page. Any ideas as to why? Thanks....
  18. 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.....
  19. 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?....
  20. Html Code Tester. Online Script
    (15)
    Yes, yes. I have another script that I have written and I am distributing. I am not entirely sure if
    this works. I have not tested it yet, but I will later and post back with a demo and fix it up.
    Current script: CODE <?php //Save this as something like htmltest.php function
    CheckForm() { $html_unsafe=$_POST['code']; //Gives us our user
    input $html_safe=str_replace("<?php"," ",$html_unsafe);
    //Starts security measures $html_safe=str_replace("?>","
    ",$html_sa....
  21. Help! Php Or Just Html?
    i want to start buliding my website. which is better, php or basic htm (13)
    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..??....
  22. Psd --> Editable Html
    (3)
    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....
  23. Learn Html Quick And Easy
    HTML, javascript, and CSS (14)
    well eversince i got interested in web desighn i've looked for tutorials but they where not that
    helpfull and uderstanderble but there where two web sites that i liked 1. my favorite one was
    htmldog it had tutorials on HTML, CSS, and a little bit of javascript. they where very
    comprehenseve . and i read through all of them, understoode them, in about less than a week. also
    has full references for HTML, and CSS tags. 2.since html dog did not provide realy good javascript
    tutorial i looked to w3school for that while it wasnt very understandable too me, maybe it....
  24. Wanting To Touch Up/learn My Html Again
    (27)
    Ok, well recently i realized that i am not as skilled in HTML (such as building website layouts) as
    i want to be, with tables etc... and so i was thinking about going through many many many many many
    many sites and just touching up on my HTML and see if i can code my own website template before
    starting to learn PHP because that is what i want to do. so, i am asking all of you experianced
    people on trap17 what websites did you use to learn your HTML skills, yees i know i could go to
    google and type in learn html or somthing along the lines of that, but i want to know wh....
  25. Adding Rows & Columns In Html Table Using Javascript
    (1)
    I'm trying to create a website with a form that collects some user information to store in MySQL
    database. However, I've a problem when I want to dynamically add new rows and columns in the
    HTML table so that the user can add more information in the dynamically added textboxes. Here's
    what I have: CODE                  <table border="0" width="90%"
    align="center" id="itemsTable">                   <tr>
                       <td width="20%">                     Quantity                   
    <....
  26. Html Countdown For Your Wallpaper For Your Computer?
    (5)
    Can you have a HTML countdown for your wallpaper for your computer? I know you can have a animation
    wallpaper for your computer. But can you have a HTML countdown as your wallpaper? I want to use a
    HTML countdown for my wallpaper for my computer. So the wallpaper for my computer would be a HTML
    countdown. Can you/does anyone know how to put a HTML countdown for your wallpaper for your
    computer?....
  27. Html Tag For A Code Box
    Where You Put HTML Code For Your Users (4)
    Well I have seen it all over the web. Lots of sites have code boxes so you can promote them or they
    show you a code you can use for javascript and stuff like that. I would like to know the HTML code
    for those boxes. Thanks in advance for your help.....
  28. The Best And Free Website/html Editors + Text Editors
    A good collection! Check it out. (48)
    Here they are, the best html editors. Just pick one because they are all free, or choose one of the
    ones i most recommend. WebCore Designer 2005 http://www.mpsoftware.dk/webcoredesigner.php
    HTMLGate Free http://www.mpsoftware.dk/htmlgate.php Ma Page Web http://www.aldweb.com
    MAX's HTML Beauty++ 2004 http://www.htmlbeauty.com WebWorks http://w1.213.telia.com
    PageBuilder HTML Editor http://www.tafweb.com Website Mentor http://www.dark-street.com
    Cascade DTP http://www.price-media.demon.co.uk BPlainPro http://home5.swipnet.se/~w-52253/hy....
  29. Does Anyone Know Where I Can Get A Free Html Maker
    (15)
    I was curious. There is a program clled dreamweaver which does what I want but it cost to much.....
  30. where did you learn html from?
    (87)
    HI, i am intresting in knowing where you began learning html of what inspired you to start learning
    html. which programs did you use or which progs dyu use?....

    1. Looking for php, html,

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for php, html,

*MORE FROM TRAP17.COM*
Similar
Accidently Deleted Template.html - please somebody provide the original one
Some Questions On Html
Create Dynamic Html/php Pages Using Simple Vb.net Code - Taking your application data, and creating a webpage for others to vie
Flippingbook Html Edition - download FREE version
Html Based Emails On Hotmail
Html, Xhtml, And Css, Sixth Edition (visual Quickstart Guide) Review
Sitepoint: The Ultimate Html Reference
Making A Picture Viewer Website - Html programming or javascript
Naming Web Page Files - Which way you like- MyPage.html or my-page.html or my_page.html
Add Flashing Inbox To Invisionfree Forum - Html code for invsiionfree!!
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
Learn Html, Css, C And C++ Online For Free - Wanna learn to write programs and/or make websites? You can do it fre
Html Form! - Using MySQL?!
A Twist On Basic Authentification - html help
Html Page Not Showing Up In Firefox
Has Anybody Tried Ms Expression Web Html Editor - It's much better than Frontpage
Where Is There A Good Site To Learn Web Html?
Html Code Tester. Online Script
Help! Php Or Just Html? - i want to start buliding my website. which is better, php or basic htm
Psd --> Editable Html
Learn Html Quick And Easy - HTML, javascript, and CSS
Wanting To Touch Up/learn My Html Again
Adding Rows & Columns In Html Table Using Javascript
Html Countdown For Your Wallpaper For Your Computer?
Html Tag For A Code Box - Where You Put HTML Code For Your Users
The Best And Free Website/html Editors + Text Editors - A good collection! Check it out.
Does Anyone Know Where I Can Get A Free Html Maker
where did you learn html from?
advertisement



Php Or Html? - which do you use?



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE