Forum Moderators: coopster
if ($customer['billsame']) {$saddr= 'Customer Name: '.$customer['fullname']."\n" . if ($customer['comp']!="") {'Company name: '.$customer['comp']."\n"}
I know that it's not complete (or closed) but can I do that? While I'm building a variable?
What I want is:
Customer Name : customer
(if there is no company name skip, or output company name)
Address 1: first address line
Address 2: second address line
and so on...
John