need help array and database

hi i am working on a ajax search

if i set an array manually it woks well for example
$a[]="word";

but i need to write a query gets every word from a column

database name "synan"
table name "user"

username | user_com
-----------------------------------
george | hi this is my first comment
michael | woow thats good

manually it must be like this

$a[]="hi";
$a[]="this";
$a[]="is";
$a[]="my";
$a[]="first";
$a[]="comment";
$a[]="woow";
$a[]="thats";
$a[]="good";


thank you for helping


need help array and database
***

synan54

***