Re: [qooxdoo-devel] how to pass indexed array to PHP

2007-01-29 Thread ericson
OK, I have found a solution ... Just use an object to allow this (thanks Derrel ...). for example : in your javascript code set record={field1: value1, field2: value2, ...} res = rpc.callSync("saveData", "mytable", record); You must retrieve this in your PHP callback function method_saveData(

Re: [qooxdoo-devel] how to pass indexed array to PHP

2007-01-29 Thread ericson
Thanks Derrel, I'm not sure to understand all you said because I'm not an expert of PHP and Javascript languages anyway I'll give a look at PHP object to find the relation between an key indexed array and a PHP object. Of course if I find a solution, I'll publish it through the forum, also I'll gi

Re: [qooxdoo-devel] how to pass indexed array to PHP

2007-01-29 Thread Derrell . Lipman
ericson <[EMAIL PROTECTED]> writes: > I'd like to pass an array with "keys" to a PHP file through RPC. > > var record=[value1,value2,...]; > res = rpc.callSync("saveData", "mytable", record); > > it works well, but in fact I would like to retrieve in my PHP program an > array like : > > record ["f

[qooxdoo-devel] how to pass indexed array to PHP

2007-01-28 Thread ericson
Hi all, I'd like to pass an array with "keys" to a PHP file through RPC. var record=[value1,value2,...]; res = rpc.callSync("saveData", "mytable", record); it works well, but in fact I would like to retrieve in my PHP program an array like : record ["field1"=>value1, "field2"=> value2, ...]