Is it possible in anyway to use a variable that is initialied *after*
its
use.
What I am trying to achieve is the following, i.e. ,using a PHP
variable that is initialised later to display a HTML Title, code
snippet below. As it
stands at present nothing is echoed!
<html>
<head>
<title><?php echo ($strTitle);?></title>
</head>
<body>
......
<?php
....
$strTitle= getTitle();
...
?>
its
use.
What I am trying to achieve is the following, i.e. ,using a PHP
variable that is initialised later to display a HTML Title, code
snippet below. As it
stands at present nothing is echoed!
<html>
<head>
<title><?php echo ($strTitle);?></title>
</head>
<body>
......
<?php
....
$strTitle= getTitle();
...
?>
Comment