Jump to content

PROGRAMMING IN HTML IS BETTER THAN PHP?


EZEQUIAS

Recommended Posts

HTML stands for HyperText Markup Language, and it is used to instruct the web browser on how to display something on the screen. As Nathan mentioned, it cannot be used for programming tasks, such as accessing a database or calculating variables. 

Typically you use both PHP and HTML together. The PHP is the programming logic and allows you to access the database and use variables and make calculations, while the HTML defines how that information appears in a web browser.

Link to comment
Share on other sites

  • 1 month later...

It cannot be done in HTML no matter what you do. You'll have to use a server-side programming language like PHP. As the comments say above, you need to have both of these technologies working hand in hand to accomplish the task that you've mentioned.

And please, as much as possible, we shouldn't type in all caps because other people might assume that you are shouting. :)

Link to comment
Share on other sites

Programming in HTML is simply not better than PHP because you cannot do everything with it like others have said above. The things you can do with PHP cannot be done with HTML and it's the same the other way around as well (the things you can do with HTML, you cannot just do with PHP by itself). You would need to use both of them to be able to create a website. The HTML programming would be used to create the actual site, the design and the layout (using CSS as well of course). And then the PHP programming would be used to create the functions of the website, for example the login system, the register system or even a poll system.

Link to comment
Share on other sites

  • 1 year later...

PHP is mainly focused on server-side & command line scripting as well as it is used in all major operating systems like Linux, windows, etc. With PHP there is a choice of choosing an operating system and a web server but Html is the simplest programing language through which we can rule the display of webpage through coding. For development, both are required and we can't compare these two technologies. 

Link to comment
Share on other sites

  • 3 months later...

HTML is not a programming language. It is a Hypertext Markup language which describes the structure of web pages and used as front-end development. PHP is an open source, server-side scripting language which will be used for development of dynamic web applications and websites etc.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...