You are here: Re: Declare variable as superglobal? « PHP Programming Language « IT news, forums, messages
Re: Declare variable as superglobal?

Posted by Jerry Stuckle on 08/24/05 04:05

Super Mango wrote:
> Thanks,
>
> My idea is to set variables like
> $b="<BR>"
> so it's kind of shortcuts.
> If I use the super globals, I'd rather write "<BR>" directly.
>
> Sorry for not explaining that in the first place.
>

define('br', '<br>');

echo br;

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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