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
How to show this splash screen for 3 seconds?
Creating the perfect icon
PCI Drivers - IBM Thinkpad T61
Change date format in filemaker pro
Windows 7 not syncing all folders and files
PAT SYNTAX on ASA 8.3 CODE
drop permissions
Greasemonkey script to add text at the bottom of aweb page
Exchange 2010 Queue errors, inconsistantly stops sending emails.
Windows Server 2008 Tape Backup