How to convert string to symbol in PHP
php
Solution
$output_password = str_repeat ('*', strlen ($input_password));
Problem
How to convert a password string to specified symbol like `*` or something else. I'm currently working on change password page. I would like to display the password to page, and i want to avoid the password overlook by someone, so i want to covert the password's string to symbol like `*` with same lengths. An example like `<input type="password" />`. Sorry for my bad english...