Changeset 7154 for temp/trunk
- Timestamp:
- 2006/11/01 10:06:20 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/test/naka/send.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/test/naka/send.php
r7152 r7154 41 41 xml_parser_free($parser); 42 42 43 getXMLValue($arrVal, "","");43 getXMLValue($arrVal,'RESULT','REDIRECT'); 44 44 45 45 /* … … 53 53 */ 54 54 55 function getXMLValue($arrVal, $tag, $attributes) { 55 56 function getXMLAttValue($arrVal, $tag, $att) { 57 $ret = ""; 56 58 foreach($arrVal as $array) { 57 $tag = $array['tag']; 58 59 print_r($array['attributes']); 59 if($tag == $array['tag']) { 60 if(!is_array($array['attributes'])) { 61 continue; 62 } 63 foreach($array['attributes'] as $key => $val) { 64 if($key == $att) { 65 $ret = $val; 66 break; 67 } 68 } 69 } 60 70 } 71 return $ret; 61 72 } 62 73
Note: See TracChangeset
for help on using the changeset viewer.
