Thanks sasa,
That did what you thought it would, but unfortunately, I lost my lastname and firstname. I've tried moving the lines about a bit, but no luck.
My query is:-
$query = "SELECT dep_people.person_id, dep_people.lastname, dep_people.firstname, dep_info.info_title, dep_info.info
FROM dep_people
LEFT JOIN dep_info
ON dep_info.person_id = dep_people.person_id";
I want to see lastname, firstname, then all the info titles and values, all on one line.
As jcbones suggested, I had thought of using the query, with GROUP_CONCAT, but the query became even more complicated than the PHP, and I was unsure about how to develop it.
Thanks again for any help.