PHP WDDX: Using Array ElementsTag: wddx, distributed data, data type, elements, array Category: PHP Applicationpost: 29 Apr 2008 read: 278 Web Distributed Data Exchange Step By Step tutorial - Part 5: It is not like php array. In PHP array, we can have numeric or string indexes. At WDDW, array is only for numeric index. String based indexed array are handled with struct element. if we want to write:
We can use:
This is example using:
The important note: this is zero based arrays. Creating arrays that are not zero-based, such as array(2=>'c',3=>'d'), would result in a struct with named variables rather than array elements. |
| | Give Your Opinion | Recommend |
|

