For example, results from the db will be :
Code: Select all
array('parameter_name'=>'id','parameter_value' => '$id')
In the page I'm retrieving the result there is already a variable named $id (with a some value, say 'Test').
Now my problem is that I need to echo the value of result['parameter_value'] and it should print 'Test', but currently its echoing $id.
I've used:
Code: Select all
echo result['parameter_value'];
echo "result['parameter_value']";
Looking forward for some guidance...thnx.