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
Beyond SQL Profiler
How to get all child class or classes that implements an abstract class?
Can’t run GUI using ssh –Y
Disable Catch all on Exchange 2007
Proper deletion of wchar memroy in C++
How to get back a User Login when have all user files still but login went away from Users Win 7 Pro
Backup Script
Replace Exchange 2003 server with Exchange 2010 Server
how to drop existing connection ?
Anti Virus/Maleware softwares used in business environment (cleaning client machines)