I have a mysql database which has a lot of keywords.
Such as ‘Apple’ however it’s been stored by a previous user as ’ Apple’ with an empty space or spacebar entry before it.
I want to loop through the results and trim the text and update it however it’s not trimming this space
I’m doing this to text it
$Word = trim($row[‘Word’]);
echo ‘>>’ . $row[‘Word’] . ‘<<’;