You mean before, that is it will be:

```php
$text = $db->Quote('%' . $db->escape($text, true) . '%', false);
$words = explode(' ', $text);  
```