How can I Replace letters with asterisks except first and last character for example: house -> h***e Database
<div id="ld">
<?php
$base=mysqli_connect('localhost','root','','exercise');
$request="select text from exercise";
/*
Here I want to show all words from database but with letters replaced
with asterisks (expect first and last letter)
*/
mysqli_close($base)
?>
</div>
source https://stackoverflow.com/questions/70229078/replace-letters-with-asterisks-except-first-and-last-character-using-mysql
No comments:
Post a Comment