Home  >  Article  >  Backend Development  >  html中怎么使用php的变量

html中怎么使用php的变量

WBOY
WBOYOriginal
2016-06-13 10:50:46833browse

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

------解决方案--------------------
$s = 'abcd';
?>

Statement:
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