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
Network Drives don't reconnect consistantly...
Dcpromo 2008 R2 directory service missing configuration information
Update FoxPro Tables
Authenticate into password protected directory with php
YAF integration with my ASP.NET website
Restricting Access to BitLocker Management
Sql query returns 24 hour time format instead of 12 hour am/pm format:
Unable to tab out of empty textbox on a bound control
How do I determine the sizes of an Exchange 2003, Exchange 2007, & Exchange 2010 Information store?
ZONE replication in DNS..