I just come on to post a message saying I got it working....exactly the way
Problem I had was I adhered too closely to an example in the manual :)
Thanks for your help.
"Bruno Gimenes Pereti" <[EMAIL PROTECTED]> wrote in message
00c201c16c5b$1028fd30$[EMAIL PROTECTED]">news:00c201c16c5b$1028fd30$[EMAIL PROTECTED]...
> Try this way:
> in your php script:
> $foo = "something";
> print "$bar";
> in your file.php (included):
> globals $foo;
> $bar = $foo." working";
> I think this example will help...
> ----- Original Message -----
> From: "TorrentUK" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, November 13, 2001 1:16 PM
> Subject: Re: [PHP-DB] Problem with include()
> > According to the php manual it can pass args and values.
> > The value I pass in through the $id then determines what poll is
> > to the visitor (poll.php opens a file called $id.txt, which contains the
> > poll's title, values, etc). So I set the id variable depending on where
> > poll script is invoked (i.e. what will the visitor be voting for at this
> > point).
> > I'm confused. I going to have to think of a work-around (sometimes known
> > a kludge :) )
> > Thanks
> > -torrent
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]