Thread: PHP question
View Single Post
Old 05-09-2004, 07:05 AM  
zentz
Confirmed User
 
Industry Role:
Join Date: Nov 2003
Posts: 8,053
PHP question

How can I use php virtual include to include php file but with some variables passed onto it?

For example:

I wanna include the file substract.php but i want it to substract 5 from 19
to do this i have to call substract.php?a=19&b=5

if i call <?php virtual ("substract.php?a=19&b=5"); ?> it just includes substract.php without the variables

Help would be highly appreciated
__________________
Programs that owe me money ---- Epassporte.com ~ $2700 | Protraffic.com ~ $2600 | XonDemand.com ~ $3000

Email: [email protected]
zentz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote