Reply to Re: trouble with echo <br />

Your name:

Reply:


Posted by Sean on 10/27/00 11:33

Echo is a construct, print is a function. I think speed wise they
should both be the same.

Try

$good = TRUE;

if($good == TRUE) { echo "blah <br />"; }

You forgot those semi colons. Not sure why it isn't printing out the
/>.

This

$good = TRUE;

if($good = TRUE) { echo "blah <br />"; }

Will always evaluate to try because instead of doing a comparison you
are doing an assignment.

[Back to original 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

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