問卷調查v2

1.user鍵入密碼,用*呈現

2.留言按enter要保留user所按enter

 

input.php

問卷調查v2

show.php

// 將密碼隱藏顯示,有幾個字就出現幾個星號

$str_password = str_repeat('*', strlen($password) );

// 將留言區,user有按enter,確實顯示出來

$str_intro = nl2br($intro);