I have php code in parameter_file.php file as below. when i called this file in index.php file, its not reading any values ! Both the files are present under same directory and using latest php 5.4
parameter_file.php
<?php
$color='red';
$car='BMW';
?>
Body of index.php
<?php include 'parameter_file.php';
echo "value is : ".$color;
?>
Could you please tell where/what the problem is ?