Thanks everyone who responded. I got it fixed now. I didn't realize that
the included file resided in the same scope. Once I knew that it was easy
to take care of.
Thanks!
- John Vanderbeck
- Admin, GameDesign
----- Original Message -----
From: "John Vanderbeck" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 08, 2001 12:27 PM
Subject: [PHP] include("blah.php?var=this"); doesn't work?!
> I need to be able to do:
>
> <?
> if (isset($asin))
> {
> include("book_reviews.php?asin=$asin");
> }
> else
> {
> include("book_reviews.php");
> }?>
>
> This is embeded in one of my sites pages..However, the call with the var
> added on won't work, it seems like its looking for a file with that whole
> name. Does anyone know how I can do this?
>
> - John Vanderbeck
> - Admin, GameDesign
>
>
> --
> PHP General 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]
>
>
--
PHP General 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]