summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries
diff options
context:
space:
mode:
authorMichiel Vugteveen <michiel@it-can.nl>2012-06-11 09:26:33 +0200
committerMichiel Vugteveen <michiel@it-can.nl>2012-06-11 09:26:33 +0200
commit37ec30c6d89448cd11c24788c01ff06326de128b (patch)
tree9a027e657e7cc38a8c2a76ad914873b52c8beb3c /user_guide_src/source/libraries
parentdca9f23d2d24ccf412d239693d2d156a8ee7fabe (diff)
changelog
Diffstat (limited to 'user_guide_src/source/libraries')
-rw-r--r--user_guide_src/source/libraries/file_uploading.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/user_guide_src/source/libraries/file_uploading.rst b/user_guide_src/source/libraries/file_uploading.rst
index d573fc770..414d84f0b 100644
--- a/user_guide_src/source/libraries/file_uploading.rst
+++ b/user_guide_src/source/libraries/file_uploading.rst
@@ -287,6 +287,10 @@ data related to the file you uploaded. Here is the array prototype::
[image_size_str] => width="800" height="200"
)
+To return one element from the array::
+
+ $this->upload->data('file_name'); // Returns: mypic.jpg
+
Explanation
***********