Basic question but I’ve searched and can’t quite get this nailed – how can I create 1 variable from several others? I then want to get that into an array.
Something like this (obviously the syntax is wrong!):
$name;
$address;
$post_code;
$full_address = $name, $address, $post_code;
$address[] = $full_address;
My php is very basic so go easy on the abuse!
Do you mean this basic or how you want it to be done: