php占位符不能用是因为代码错误,其解决办法:首先打开相应的代码文件;然后将“placeholder "Your name here"”修改为“placeholder="Your name here"”即可。

本文操作环境:windows7系统、PHP7.1版,DELL G3电脑
错误代码:
我不知道为什么占位符文本没有在字段中显示…
解决方法:
立即学习“PHP免费学习笔记(深入)”;
代码中缺少“=”应该是:
placeholder="Your name here"
推荐学习:《PHP视频教程》











