Posts by Antonio • 46 points
3 posts
-
0
votes2
answers65
views -
2
votes1
answer52
viewsA: How to apply str_replace only in identical terms?
Hello, In the example you passed it is possible to use regex to exclusively replace the word 'fico' as follows: preg_replace('/\bfico\b/', '@array-url-1', $texto); And in your code it would be:…
-
1
votes2
answers86
viewsA: Same character set generating different hashs after conversion with MD5()
In this case use Trim() or str_replace() in single and double quotes. An addendum, I noticed you are using MD5() as password In the part of the password I use md5() The correct thing in this case is…