Forum Moderators: coopster

Message Too Old, No Replies

concatention and array

How to create a space between each array

         

AliTaylor4411

3:07 pm on Aug 19, 2010 (gmt 0)

10+ Year Member



I have script which produces out in a table but the address is coming out as

Eg: 5 Brown RoadWhitleyWigan

This is the code which produced the above

$propertyaddress = $array[' propertyadd1'] . $array[ 'propertyadd2']. $array[ 'propertyadd3']. $array[ 'postcode'];

How do I get a space between Road and Whitley ad between Whitley and Wigan?

Matthew1980

3:30 pm on Aug 19, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



$array['propertyadd1']." ".$array['propertyadd2']." ".$array['propertyadd3']." ".$array['postcode'];

Cheers,
MRb

AliTaylor4411

3:49 pm on Aug 19, 2010 (gmt 0)

10+ Year Member



thank you Matt - now sorted!

Just another million things to sort now!