pixeltrace Posted June 28, 2007 Share Posted June 28, 2007 Hi, i need help, i am not sure if my codes for mysql query and uRow is correct. i can successfully load my data but then i am still getting some error on my page. check this: http://mango.resonance.com.sg/myoochi/v3upload/V3UploaderClient.php this is my loading page and this is my display page http://203.125.7.42/mapguide/ViewPOIData.php this is my code for the loadingpage <?php include 'db_connect.php'; $uSql = "SELECT * FROM jos_findit"; $uResult = mysql_query($uSql, $connection); if(!$uResult){ echo 'no data found'; }else{ while($uRow = mysql_fetch_array($uResult)){ /*$TradeName = 'abc'; $TradeBranch = '-'; $TradeCode = 'test789'; $PostalCode = '123456'; $CRUD = 'C'; */ $client = new SoapClient("http://203.125.7.42/mapguide/phpviewersample/V3UploaderWebService.wsdl",array("trace"=>1)); try { $input=array('BuildingName'=>$uRow[TradeName],'TradeBranch'=>$uRow[TradeBranch],'TradeCode'=>$uRow[TradeCode],'PostalCode'=>$uRow[PostalCode],'CRUD'=>$uRow[CRUD]); $result= $client->getUpdateResult($input); $res = $result->getUpdateStatusReturns; echo $res->updateStatus ."<BR><BR>"; echo "Request Header : "; print htmlspecialchars($client->__getLastRequest()) . "\n<br><br>"; echo "Response Header : "; print htmlspecialchars($client->__getLastResponse()) . "\n"; } catch (SoapFault $exception) { echo $exception; } } } ?> hope you could help me with this. thanks! Quote Link to comment https://forums.phpfreaks.com/topic/57524-need-help-in-my-urow/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.