Home > Backend Development > PHP Problem > How to turn php source code into html

How to turn php source code into html

angryTom
Release: 2023-02-26 21:52:01
Original
3763 people have browsed it

How to turn php source code into html

php is a back-end scripting language

PHP is the "hypertext preprocessor" and is a general-purpose Open source scripting language. PHP is a scripting language executed on the server side. It is similar to C language and is a commonly used website programming language. PHP's unique syntax mixes C, Java, Perl, and PHP's own syntax. It is conducive to learning and widely used. It is mainly suitable for the field of web development.

html is the front-end hypertext markup language

HTML is called hypertext markup language, which is a kind of identifying language. It includes a series of tags. These tags can unify the document format on the network and connect scattered Internet resources into a logical whole. HTML text is descriptive text composed of HTML commands. HTML commands can describe text, graphics, animations, sounds, tables, links, etc.

php source code cannot be converted into html documents, but php can output html documents

<?php
    echo &#39;<h1>hello www.php.cn</h1>&#39;;
?>
Copy after login

For more PHP related knowledge, please visit PHP Chinese website !

The above is the detailed content of How to turn php source code into html. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template