let me create a scenario i am using mySQL 4.x :
I have a database with the fileds;
Firstname
Lastname
I want to do a SELECT from the database that joins the two fields together.
so in the PHP, after i've queried and got the array i can do
echo $row['fullname'];
I had imaged something like this in my head but its not working:
(treats it like a mathematical add ... gives out a result of 0)
SELECT (Firstname + Lastname)
FROM table
The reason for doing this is not the above scenario, This makes it allot simpler to understand (but i realise it also seems pointless).
Thanks in advance, I love this forum!