|
From: stoica i. <io...@ya...> - 2005-01-14 17:43:51
|
if i want to return this from a hessian php service:
function getAgents()
{
$qr = "SELECT * FROM _agents ORDER BY _order ASC";
$rs = mysql_query($qr);
$agents = array();
$obj->label = "";
$obj->data = "";
$i = 0;
while($el = mysql_fetch_array($rs))
{
$obj->label = $el["label"];
$obj->data = intval($el["data"]);
$agents[$i] = $obj;
$i++;
}
return $agents;
}
How could i convert the result to a c# array ?
Or to what kind of data strcture ?
The same questions, but for java!
c# client : http://www.hessiancsharp.org/
java client : the one from caucho
PLS HELP!!!!
Regards, iongion!
__________________________________
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
|