Question : PHP syntax help

Hi Experts

I would like some help with the php syntax.
I want to embed a url into this include function but dont know how to make the php code work within the "" quotes.
The echo $row_rs_synd_managerContent['seq_metadata_url']; fetches the url from the database.  When it is in the "" it makes it a string. how do I get the code to make it see the php call to the database and keep the quotes.


<?php
  mxi_includes_start("echo $row_rs_synd_managerContent['seq_metadata_url'];");
  require(basename("echo $row_rs_synd_managerContent['seq_metadata_url'];"));
  mxi_includes_end();
?>

Answer : PHP syntax help

<?php
  mxi_includes_start($row_rs_synd_managerContent['seq_metadata_url']);
  require(basename($row_rs_synd_managerContent['seq_metadata_url']));
  mxi_includes_end();
?>

Hope this helps
Random Solutions  
 
programming4us programming4us