Question : soap parsing question with php

i ahve a select list that populates itself from a soap result (an item_id) Well each of these item_ids have many attributes or nodes to them here is a sample :
            <ax24:ratePlans type="com.qualution.iwireless.types.RatePlanType">
               <ax24:amountNeeded>0.0</ax24:amountNeeded>
               <ax24:canEnrollMCCB>true</ax24:canEnrollMCCB>
               <ax24:description>200 Anytime</ax24:description>
               <ax24:isDefault>false</ax24:isDefault>
               <ax24:planAmount>20.0</ax24:planAmount>
               <ax24:promoDiscountAmount>20.0</ax24:promoDiscountAmount>
               <ax24:ratePlanID>TT200</ax24:ratePlanID>
               <ax24:taxAmount>1.2</ax24:taxAmount>
            </ax24:ratePlans>
            <ax24:ratePlans type="com.qualution.iwireless.types.RatePlanType">
               <ax24:amountNeeded>0.0</ax24:amountNeeded>
               <ax24:canEnrollMCCB>true</ax24:canEnrollMCCB>
               <ax24:description>Unl Text</ax24:description>
               <ax24:isDefault>false</ax24:isDefault>
               <ax24:planAmount>20.0</ax24:planAmount>
               <ax24:promoDiscountAmount>20.0</ax24:promoDiscountAmount>
               <ax24:ratePlanID>MEGATEXT</ax24:ratePlanID>
               <ax24:taxAmount>1.2</ax24:taxAmount>
            </ax24:ratePlans>


i need to populate text under the select list with the correct information for tha titem_id.

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
foreach($vResponse->return->ratePlans as $ratePlans)
					{ 
						$count++;
						//Get Plan Id
						$v_current_plan_id = "";
						$setting_id = "web_desc";
						$vQuery = "BEGIN :v_return_val := I3_PRICE_PLAN.get_setting_value(:p_plan_id,:p_setting_id); END;";
						$vBoundQuery = OCIParse($vConnection,$vQuery);
	
	
						OCIBindByName($vBoundQuery,":v_return_val",$v_plan_desc,100);
						OCIBindByName($vBoundQuery,":p_plan_id",$ratePlans->ratePlanID,200);
						OCIBindByName($vBoundQuery,":p_setting_id",$setting_id,200);
	
						OCIExecute($vBoundQuery);	
					
					?>
							

						<option value="<?php echo $ratePlans->ratePlanID; ?>"><?php echo $v_plan_desc; ?></option>
					
					<?php } ?>
					</select>

					<?php if(isset($_GET['plan']))
					{ ?>
								<script>document.getElementById('selectedplan_id').value = '<?php echo $_GET['plan'];?>';</script>

					<?php } ?>

Answer : soap parsing question with php

I had problems getting Office 2007 to install as well so thought there was some dll or configuration that was wrong. The user did not need any information as they just backed up their documents so I went ahead and just reloaded Windows. everything is working now.

Thanks
Random Solutions  
 
programming4us programming4us