I'm working on integrating external code. Following is the code:
if(count($_POST))
pay_page(array('key'=>'gtKFFx','txnid'=>'shanil','amount'=>'100');
There are static values. I want to assign php variables to this array:
if(count($_POST))
pay_page(array('key'=>'gtKFFx','txnid'=><?php echo $b; ?>,'amount'=>'10');
How do I achieve that? Can somebody help?