Posted by Sean on 11/27/05 18:08
If you checked the php error log it would have printed out something
like:
[27-Nov-2005 16:04:12] PHP Parse error: syntax error, unexpected T_IF
in etc......
i.e.
if ($Phone) $CompanyBlock.= "Tel: $Phone\n".
if ($Fax) $CompanyBlock.= "Fax: $Fax\n".
if ($Email1) $CompanyBlock.= "Email: $Email1\n".
Take this section of code, your concatenating IF statements like
strings so of course it's not going to work.
You should start by going to http://www.php.net/manual/en/
Navigation:
[Reply to this message]
|