pls...advise me..
I use PHP web service with nusoap.php. I can retrieve many records of data from database
in the webservice page. But this webservice page can't post to php file.. How can I do?
e.g
Page1......
<?php
$rs = new soap_server;
function Get()
{
$strsql = ''select * from staff sf inner join salary s on sf.staff_id = s.staff_id;
$table = select_sql($strsql);
if ($table) return $table;
else return false;
}
$rs->service($HTTP_RAW_POST_DATA);
?>
page2........
<?
require('page1.php');
$rs = Get();
if ($rs) {
for($i=0; $i < count($rs); $i++)
{
echo $rs[0]["staff_name"];
}
}
else {echo "Record not found.";}
?>
According to the above example , I get thousands rows of staff in page1. But I didn't get all data(rows) in page2. How can I do?
thanks in advance for quick reply...
Record not found
Moderator: General Moderators
Record not found
Last edited by devuser on Wed Mar 29, 2006 5:46 am, edited 1 time in total.