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
Using MySQL Workbench to Connect to Remote Server
SBS2008 add second mailbox for user
Exchange NDRs reports getting to the users mailboxes becasue spam
How to select items in field up to a certain character
Holiday Table: REDUX
Test Paper
How can enable "automatic hyperlink" option in Outlook 2007? I checked "Internet and network paths with hyperlinks" and the option is selected.
Find string in Excel cell between two characters
Insert new controls into a form via SQL INSERT INTO
How to recover an HP Raid0 overwrited partition