I have some white spaces in my database displaying like the attached image. i believe they are not being recognized as white spaces because i have used the following to remove them but they all failed.
1. preg_replace( '/^((?=^)(\s*))|((\s*)(?>$))/si', '',$data['home']);
2. trim($data['home']);
3. str_replace
(' ','',$data['home']);
How do i remove them please?
how do i remove those black things that have question marks in them