Question : echo php within php

Within the tagValue='bmw' I would like to echo this code:

<?php echo $listing['make'] . " " . $listing['model']; ?>

1:
<?php  print tubepressGallery("mode='tag' tagValue='bmw' ajaxPagination='true' author='false' resultsPerPage='1'" ); ?>

Answer : echo php within php

I don't think you need to echo it, just put it in there like this:
1:
<?php  print tubepressGallery("mode='tag' tagValue='".$listing['make'] . " " . $listing['model']."' ajaxPagination='true' author='false' resultsPerPage='1'" ); ?>
Random Solutions  
 
programming4us programming4us