Reply to Re: newbie syntax question

Your name:

Reply:


Posted by Cafer Şimşek on 02/12/06 22:23

"leegold" <goldtech@worldpost.com> writes:

> Hi,

Hi,

>
> print '12 == 12 : '; print 12 == 12;
>
> this works, I get:
>
> 12 == 12 : 1
>
> but I tried to shorten it:
>
> print '12 == 12 : ' . print 12 == 12;
>
> I get:
>
> 112 == 12 : 1
>
> What's that extra "1" ( meaning true I assume) at the front of the
> output?

print directive does not return a string expression only write it. If
it has write the output, it returns TRUE.

>
> Thanks
>
>

--
Bu imza Süper İnek Güçlerine sahip değil

Cafer 'cfb' Şimşek
http://cafer.org

[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

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