Posted by Sonnich on 03/15/07 13:01
Hi!
I want to have a number of strings in another file, which I can
include everywhere... but I cannot make them reachable from the top
file. I have looked at var and global to to this but without luck.
The idea is to have all text the same place, which minimses changes
and spelling errors.
something like error messages stored:
<?
$sError001="stupid user";
$sError002="not available";
?>
and then :
include "errormsgs.php";
echo $sError001;
BR
Sonnich
[Back to original message]
|