From bc1053289465f5b11a5091b49e5ac5b6602a0b5f Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Mon, 6 Mar 2017 21:44:48 +0000 Subject: [PATCH] change and remove comments --- functions.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/functions.php b/functions.php index c749c18..5c1c590 100644 --- a/functions.php +++ b/functions.php @@ -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(