note 35968 added to language.constants

From: Date: Sun, 21 Sep 2003 03:59:17 +0000
Subject: note 35968 added to language.constants
Groups: php.notes 
Request: Send a blank email to php-notes+get-56837@lists.php.net to get a copy of this message
Re: fmmarzoa IMO, it's better to use array with all strings, eg: <?php $langpack = array( 'strSayHello' => 'Hello!', 'strArticleDescr' => 'Published by $article_author on $article_date in $article_lang_name' ); ?> Re: tlittle Hint for future: While debuging scripts set PHP to display all errors and warnings.. If you try to define defined constant parser will generate warning.. Re: pierre It's enought to write: <form action="?do_something"> ---- Manual Page -- http://www.php.net/manual/en/language.constants.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35968 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35968&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35968&report=yes

« previous php.notes (#56837) next »