Re: Passing variables with include()

From: Date: Mon, 14 Jan 2002 13:40:00 +0000
Subject: Re: Passing variables with include()
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-80450@lists.php.net to get a copy of this message
Imar De Vries wrote: > - Including remote files *is* possible. The php manual does not mention this > does not work, and when I add the variable to the call (include > ..../calculate_drivers?serie_id=3.php) the code is processed perfectly. The > thing is, I can not pass the variable with the call, because it's value is > determined by the form field. I could use a switch statement of course, but > that adds a lot more text to the code. I just changed the code to (include .../calculate_drivers?serie_id=$serie_id.php) ... and this worked! Weird solution... -- Imar de Vries - I.O.deVries@students.let.uu.nl - ICQ 6972439

« previous php.general (#80450) next »