QUOTE(Stewart Campbell @ Mar 26 2006, 08:19 AM)

SQL
select CONCAT(first_name, ' ', last_name) from users where first_name like '%something%' or last_name like '%something%'
is what I would do if it only needed to run on mySQL

Could also use CONCAT_WS(' ', first_name , last_name), result is the same..
Works great! Thank you!
Now, using that query I've run into a problem... I'm sure the answer is simple, I'm not just skilled enough when it comes to arrays to do what I want to.
I was using while( $r = mysql_fetch_array on that query and $r['first_name'] was giving me nothing nor was $r['last_name']... So I tested to make sure all the data was correct and that the query was being executed... then I did a print_r( $r ) and got:
CODE
Array ( [0] => Kenny Pollock [CONCAT(first_name, ' ', last_name)] => Kenny Pollock )
How can I grab data from that row? For example, I use the query you gave me Stewart and find myself, Kenny Pollock. Now I want my id in the table and the first name and the last name. Possible?