File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,16 @@ print $xml->buildXML($input);
1313</code ></pre >
1414
1515INPUT:
16- <pre ><code >$input = array('product' => array(
16+ <pre ><code >
17+ $input = array('product' => array(
1718 '@id' => 7,
1819 'name' => 'some string',
1920 'seo' => 'some-string',
2021 'ean' => '',
2122 'producer' => array(
2223 'name' => null,
2324 'photo' => '1.png'
24- )
25+ ),
2526 'stock' => 123,
2627 'trackstock' => 0,
2728 'new' => 0,
@@ -37,21 +38,21 @@ INPUT:
3738 'category' => array(
3839 'photo' => '1.png',
3940 'name' => 'test3',
40- )
41+ ),
4142 'staticattributes' => array(
4243 'attributegroup' => array(
4344 1 => array(
4445 '@name' => 'attributes group',
4546 'attribute' => array(
4647 0 => array(
4748 'name' => 'second',
48- 'description' => '& lt ; p & gt ; desc2& lt ; /p & gt ; ',
49+ 'description' => 'desc2',
4950 'file' => '',
5051 ),
5152 1 =>
52- array
53+ array(
5354 'name' => 'third',
54- 'description' => '& lt ; p & gt ; desc3& lt ; /p & gt ; ',
55+ 'description' => 'desc3',
5556 'file' => '',
5657 ),
5758 )
You can’t perform that action at this time.
0 commit comments