Posted by Johnny on 10/11/21 11:58
"moi" <nospam@nospam.com> wrote in message
news:op.tf2je2aa56icx3@chris-4ac6688f6...
> Hello,
>
> I am designing a website for a freeware and because the version of the
> freeware changes often I would like to have one PHP variable containing
> the version number. This way I could change the variable in one place and
> have all the pages updated in one go.
>
> How can I do that? I do not know where to start :-( (I am a PHP beginner)
>
> Thank you for your help.
>
> --
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
start here: http://us3.php.net/global and all the many other helpful pages
there.
there are many ways to do what you want.
Another way would be to define a constant in an initialisation file
http://us3.php.net/manual/en/function.define.php
Navigation:
[Reply to this message]
|