EZEQUIAS Posted March 14, 2018 Share Posted March 14, 2018 WE ALL KNOW THAT THE HTML IS BECOMING NEXT TO THE CUSTOMER AND PHP IS BROUGHT NEXT TO THE SERVER. BUT I WOULD LIKE TO KNOW IF PROGRAMMING ALL THE DATABASE CAN BE DONE IN HTML? Quote Link to comment Share on other sites More sharing options...
Administrators Nathan Posted March 14, 2018 Administrators Share Posted March 14, 2018 No it cannot. You have to have some code in there to interact with the database and plain HTML does not do that. Quote Link to comment Share on other sites More sharing options...
WisTex Posted March 16, 2018 Share Posted March 16, 2018 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. Nathan 1 Quote Link to comment Share on other sites More sharing options...
EfficientNinja Posted April 18, 2018 Share Posted April 18, 2018 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. Quote Link to comment Share on other sites More sharing options...
Ash Posted April 23, 2018 Share Posted April 23, 2018 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. Quote Link to comment Share on other sites More sharing options...
Jasica James Posted June 20, 2019 Share Posted June 20, 2019 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. Quote Link to comment Share on other sites More sharing options...
alexjames Posted October 1, 2019 Share Posted October 1, 2019 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.