5 months ago

How to replace part of string with * and show the rest ( PHP ) ?

Posted 5 months ago by EbrahemSamer

I am searching using the name , I want the result of search to be like that

if i searched for any person start with 'ahmed' the result would be like that

ahmed ********* ahmed *** ahmed*

and so on just ahmed appears and the rest will be hidden like that how can i do that ?

Please sign in or create an account to participate in this conversation.