I am currently using the following query:
SELECT *
FROM `wp_usermeta`
WHERE meta_key='avatar'
AND meta_key NOT LIKE '% '
ORDER BY RAND()
LIMIT 4
Thus, I want to try to get only the values โโof fields in which there are no empty spaces in the file name. Where is the error in my request? It still selects file names with empty space in the file name.
source
share