Jul 24, 2008

Php Or Html? - which do you use?

Free Web Hosting, No Ads > CONTRIBUTE > The Internet > Web Design
Pages: 1, 2, 3, 4

free web hosting

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. What Is The Best Free Html Editor?
    (8)
  2. Html Problem
    (9)
    how to make my intro page in the middle not CENTER ....
  3. 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....
  4. 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....
  5. 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.....
  6. Where Is There A Good Site To Learn Web Html?
    (18)
    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?....
  7. 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.....
  8. 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..??....
  9. A Small Html Problem
    How to display foreign characters correctly when designing a site. (4)
    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....
  10. Psd --> Editable Html
    (2)
    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....
  11. 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....
  12. 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" />....
  13. 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.....
  14. 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....
  15. 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....
  16. 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....
  17. 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....
  18. 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 ....
  19. 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....
  20. 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....
  21. 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 t....
  22. Form Mail (in Csv Or Straight Html)
    All suggestions are welcome (0)
    I have been searching for scripts to write to do the followings: 1) validate that an applicant has
    all required field checked (this is to thin out who is serious and who's just browsing)--DONE 2)
    application page (applicant fills in all form fields)--DONE 3) mail the entire page content either
    in CSV or as is in HTML as attachment via email through web 4) "optional" confirmation page I was
    led to this site (http://www.email-form.com/) for a program called Form Processor Pro. This program
    will take care of the step 3 and 4 without saving to the server. My question....
  23. Html Form Help Please
    finding a form script (2)
    Does anyone know of any tutorial or can help me with making a form. I'll describe the situation
    and lets see if you can help me. Ok like a few form or text areas that when you put some text into
    them they'll input the words from the form area above into another form or textarea under it.
    Sort of like an online html maker where you can select your background colors, put an image url in a
    field, and some other options THAN you hit a button that says generate. and it generates a website
    html source code where you can copy the whole thing and paste into your own we....
  24. 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!....
  25. 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....
  26. 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??....
  27. Html/flash/swish Templates
    (0)
    Just go here: http://comteche.com They have some good html, and flash/swish templates.....
  28. Html Linking
    (2)
    Probably a noobish question, But how do i get rid of the Underlining under text links....
  29. Undreds Of - Html & Swish & Flash Templates
    (0)
    her it is: CODE http://www.freelayouts.com/ just click in the menus in the top of the
    page. Carpe diem.....
  30. Html Editors That Work With Asp Php
    wondering mind (7)
    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,

Searching Video's for php, html,
advertisement



Php Or Html? - which do you use?



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web 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