change and remove comments

This commit is contained in:
Andreas Zweili 2017-03-06 21:44:48 +00:00
parent 9b498b9732
commit bc10532894
1 changed files with 3 additions and 4 deletions

View File

@ -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(