Featured Products
Technologies
Login
| Zend i5 Toolkit Write Data Area |
|
|
|
| Written by Chris Anderson |
| Friday, 08 January 2010 15:12 |
|
So you want to use the data area functions of Zend's i5 Toolkit but every time you use the function i5_write_data_area() you get no result or, if you're looking for it, an error resulting from a malformed System i command. Don't sweat it. You just have to include the single quotes because, for some reason, the function doesn't include them automatically. So, instead of:
$newText = "hello"; $dataAreaName = "dacool"; i5_data_area_write($dataAreaName, $newText); You do this:
$newText = "'hello'"; $dataAreaName = "dacool"; i5_data_area_write($dataAreaName, $newText); I don't know why this isn't in the official documentation other than that there is almost nothing in the official documentation. Comments (0) |
| Last Updated on Friday, 08 January 2010 15:26 |





