RE: [PHP] large external script to include in many pages

2001-08-13 Thread scott [gts]


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

here docs also work good for big blocks of text
(although interpolation will occur, which you might
not want)

$mytext = <<http://php.net/manual/en/language.types.string.php#language.types.string.syntax.hered
oc

> -Original Message-
> From: Web Manager [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 13, 2001 3:53 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] large external script to include in many pages
>
>
> Hello,
>
> I am testing a new DHTML code for navigation menus. I plan to use it
> throughout my web pages made with PHP. The script is about 600 lines
> long!
>
> Beside making a :
>
> define (script1, "" .
> "" .
> "" .
> "");
>
> and calling the script1 name in my PHP pages...
>
> this will be very, very long, is there a another way to create a kind of
> variable ($myscript == 600 lines of the DHTML) that I could simply call
> out in all my pages. Something like a 

[PHP] large external script to include in many pages

2001-08-13 Thread Web Manager

Hello,

I am testing a new DHTML code for navigation menus. I plan to use it
throughout my web pages made with PHP. The script is about 600 lines
long! 

Beside making a :

define (script1, "" .
"" .
"" .
"");

and calling the script1 name in my PHP pages...

this will be very, very long, is there a another way to create a kind of
variable ($myscript == 600 lines of the DHTML) that I could simply call
out in all my pages. Something like a