简体   繁体   中英

how to pass echo value in function in hidden type input

In file b.php there is an echo value,ie 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) ?>">

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM