In PHP I'm running a mysql query and from the results I want to string together multiple columns into a single variable. Obviously my example below doesn't work, but hopefully it gives you an idea of what I'm trying to do.
$var1= $line_results[city,state,country];
I want var1 to become one long variable for all 3 columns that get stitched together. What is the exact syntax to stitch those 3 columns together? This is what I currently have setup and I want to merge them into one:
$var1= $line_results[city];
$var2= $line_results[state];
$var3= $line_results[country];