Possible Duplicate:
PHP - include a php file and also send query parameters
Because this doesn't work for me:
<?php include ('list-options.php?format=list'); ?>
Possible Duplicate:
PHP - include a php file and also send query parameters
Because this doesn't work for me:
<?php include ('list-options.php?format=list'); ?>
No. You can set a variable and use it in just like it was declared in the file though. Read up here: http://www.php.net/manual/en/function.include.php
<?php
$format = "list";
include("list-options.php");
?>