Quote:
Originally Posted by cinq
The variable $store contains a string of characters ( for e.g an address ).
I wish to append more info to this variable ( say add on the postal code ), how do I go about doing this ?
I took a look at implode, but I am not sure if it does the job ?
Is there some kind of append function in PHP ?
|
If the data is a string, you can use
$store .= 'additionalinfo';
or
$store = $store . 'additionalinfo';
or
$store = $store . $adinfo;