You are here: Re: Very Weird Behavior « PHP Programming Language « IT news, forums, messages
Re: Very Weird Behavior

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация