Microsoft
Software
Hardware
Network
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_managerConten
t['seq_met
adata_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_managerConten
t['seq_met
adata_url'
];");
require(basename("echo $row_rs_synd_managerConten
t['seq_met
adata_url'
];"));
mxi_includes_end();
?>
Answer : PHP syntax help
<?php
mxi_includes_start($row_rs
_synd_mana
gerContent
['seq_meta
data_url']
);
require(basename($row_rs_s
ynd_manage
rContent['
seq_metada
ta_url']))
;
mxi_includes_end();
?>
Hope this helps
Random Solutions
Pass Cell Value to VBA Formula
Installing Win7 (64 bit) in a machine already having XP Pro.
Backup Exec 2010 job doesn't append just uses next free tape
Sql 2008 Query weekdays
How to add images to tabs on tab control+windows programming vb.net 2005
DOS drivers for Intel 82577LM
Simple Question about Radio Buttons in Flash
How to add another email address to recipient policy 2008 SBS
How can I find a missing file
securing ubuntu server