include("blah.php?var=this"); doesn't work?!

From: Date: Thu, 08 Feb 2001 17:27:20 +0000
Subject: include("blah.php?var=this"); doesn't work?!
Groups: php.general 
Request: Send a blank email to php-general+get-38781@lists.php.net to get a copy of this message
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

« previous php.general (#38781) next »