Home  >  Article  >  php教程  >  html中的php代码不执行

html中的php代码不执行

WBOY
WBOYOriginal
2016-06-06 19:42:191625browse

我的html中的php代码不执行; html head titleBob's Auto Parts/title /head body h1Bob's Auto Parts/h1 h2Order Results/h2 ?php echo "pOrder process at:".date('H:i,jS F Y')."p"; ? /body /html 执行结果是 Bob's Auto Parts Order Results ?php echo

我的html中的php代码不执行;



Bob's Auto Parts


Bob's Auto Parts


Order Results


echo "

Order process at:".date('H:i,jS F Y')."

";
?>

执行结果是

Bob's Auto Parts

Order Results

Order process at:".date('H:i,jS F Y')."

"; ?>

以前是好的,不知为什么突然这样了。

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
Previous article:常用的PHP代码Next article:php中如何设置短标签short