I have an HTML select element created in PHP. I want to add $car (a second variable) with the $person_name. So it should $car and $person_name. how can i do it to the snippet below:
echo "<option value=\"".$person_id."\">".$person_name."</option>";
This will cause the display value in the drop-down to show (if $car = “Chevy” and $person_name = “Fosco”): “Chevy – Fosco”