change and remove comments
This commit is contained in:
parent
9b498b9732
commit
bc10532894
|
@ -298,15 +298,14 @@ function export_offer ()
|
|||
|
||||
$export_rows = $query_result->fetch_object();
|
||||
|
||||
/* create a dom document with encoding utf8 */
|
||||
//create a dom document with encoding utf8
|
||||
$domtree = new DOMDocument('1.0', 'UTF-8');
|
||||
|
||||
/* create the root element of the xml tree */
|
||||
// create the root element of the xml tree
|
||||
$xmlRoot = $domtree->createElement("offer");
|
||||
/* append it to the document created */
|
||||
// append it to the document created
|
||||
$offer_export = $domtree->appendChild($xmlRoot);
|
||||
|
||||
/* you should enclose the following two lines in a cicle */
|
||||
$offer_export->appendChild(
|
||||
$domtree->createElement('demand_title',$export_rows->demandTitle));
|
||||
$offer_export->appendChild(
|
||||
|
|
Loading…
Reference in New Issue