From 819a8cf9bef77ace9161cc779a1a2187ba8cd1c1 Mon Sep 17 00:00:00 2001 From: Abdullah Eid Date: Mon, 10 Dec 2012 08:18:47 +0300 Subject: [PATCH] 005_update_from_array.php example was added --- examples/005_update_from_array.php | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 examples/005_update_from_array.php diff --git a/examples/005_update_from_array.php b/examples/005_update_from_array.php new file mode 100644 index 0000000..a8b4520 --- /dev/null +++ b/examples/005_update_from_array.php @@ -0,0 +1,25 @@ +_('update_from_array',$the_array); +// or you can yous it as : +// $users->_('update_from_array',$the_array,"put extra sql here like where"); +// $users->_('update_from_array',$the_array,"WHERE $id = 10"); +// NOTE : it is exactly works like $users->_('update'), but it is takes its values +// from array. + +?> \ No newline at end of file