Home > Backend Development > PHP Tutorial > 如何在html语言中使用php的变量

如何在html语言中使用php的变量

WBOY
Release: 2016-06-13 10:51:33
Original
1699 people have browsed it

怎么在html语言中使用php的变量
如果我做一个页面,php代码和html语言是结合使用的,比如我用php代码在数据库中取到各一个值,如何将其显示在html中的一个text中???

------解决方案--------------------
$a='abc';
?>

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