Since you're no longer having a parse error, I've moved your posts to a new thread.
Sondar;10947168 wrote:changed to the word array for seom reason.
That's because [man]mysql_fetch_row/man returns an array.
Also note that you used $result which is a MySQL resource returned by [man]mysql_query/man, when you instead should be using one of the mysql_fetch_*() functions (or [man]mysql_result/man, if it's just one column you want) to actually retrieve the data.