[英]how to pass echo value in function in hidden type input
In file b.php
there is an echo value,ie echo $abc;
在文件
b.php
有一个echo值,即echo $abc;
and i want to pass this echo value in function in hidden type input so that this echo value goes to another page by function parameter which is called in input type hidden. 我想在隐藏类型输入的函数中传递此回显值,以便该回显值通过在隐藏输入类型中被调用的函数参数转到另一页。
<input type="hidden" name="" value="<?php fun( echo $abc;)?>">
只需删除echo即可:
<input type="hidden" name="" value="<?php fun($abc) ?>">
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.