> > include ("http://www.site.com/home.php";);
> > }
> > else{
> > include ("http://www.site.com/"; . "$page" . ".php");
> > }
> > ?>
> > This code is in the index.php file. When home.php is included, I
> > want to echo a variable like $title on the index.php page. But
> > $title is defined on hom
use globals to pass the information to other pages..
http://www.php.net/manual/en/language.variables.php
"Ben" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> Ok, I'm sort of a beginner at this, so cut me some slack. :-) Ok, I have
an
> if then statement that after you click a
Ben wrote:
But how would I go about using the IF THEN statement but allowing the page
to see the variables.
Not sure if I know what you mean, but:
if($foo == 'bar'){
include('foo.php');
}
--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt
to decrypt it will
But how would I go about using the IF THEN statement but allowing the page
to see the variables.
"Leif K-Brooks" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Ben wrote:
>
> >How would I do this then?
> >
>
> include('foo.php');
>
> --
> The above message is encrypted with double
thanks a bunch
"Leif K-Brooks" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Ben wrote:
>
> >How would I do this then?
> >
>
> include('foo.php');
>
> --
> The above message is encrypted with double rot13 encoding. Any
unauthorized attempt to decrypt it will be prosecuted to the
Ben wrote:
How would I do this then?
include('foo.php');
--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt
to decrypt it will be prosecuted to the full extent of the law.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.
How would I do this then?
"Leif K-Brooks" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Ben wrote:
>
> >Ok, I'm sort of a beginner at this, so cut me some slack. :-) Ok, I have
an
> >if then statement that after you click a link it looks like this:
> >blah?page=pagename It looks s
Ben wrote:
Ok, I'm sort of a beginner at this, so cut me some slack. :-) Ok, I have an
if then statement that after you click a link it looks like this:
blah?page=pagename It looks something like this:
http://www.site.com/home.php";);
}
else{
include ("http://www.site.com/"; . "$page" . ".php");
8 matches
Mail list logo