Mercurial > hg > ywww
comparison xml/getAmazonInfo.php @ 11:c9ebf871114b
fix wrong var in debug output
| author | Henry S. Thompson <ht@markup.co.uk> |
|---|---|
| date | Sat, 18 Feb 2017 12:43:42 +0000 |
| parents | 5aa24c984a3b |
| children | 385ddd7c4b55 ae1459564f66 77ff181476b8 |
comparison
equal
deleted
inserted
replaced
| 10:5aa24c984a3b | 11:c9ebf871114b |
|---|---|
| 122 } | 122 } |
| 123 else { | 123 else { |
| 124 file_put_contents('/var/ywww/debug/phpDebug',"parms: $go\n". | 124 file_put_contents('/var/ywww/debug/phpDebug',"parms: $go\n". |
| 125 print_r($parameters,TRUE)."\n",FILE_APPEND); | 125 print_r($parameters,TRUE)."\n",FILE_APPEND); |
| 126 if ($code=="") { | 126 if ($code=="") { |
| 127 file_put_contents('/var/ywww/debug/phpDebug',"error elt:\n$out\n",FILE_APPEND); | 127 file_put_contents('/var/ywww/debug/phpDebug',"error elt:\n$output\n",FILE_APPEND); |
| 128 } | 128 } |
| 129 } | 129 } |
| 130 } | 130 } |
| 131 else { | 131 else { |
| 132 $xml = new SimpleXMLElement($output); | 132 $xml = new SimpleXMLElement($output); |
