• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting data back from custom library

#1
[eluser]pnutz[/eluser]
Hi !

Kind of a newbie question :-)
I've been using codeigniter for some time now and am really enjoying the overview you get when you code your pages.

I currently have a page with a MySQL query on it.
Withing that query, I pass an ID value to a custom library function.

$this->customlib->function($row->id);

The function does it's job correctly... (running a new query and fetching the needed values).
Problem is... how do I pass the newly aquired data from my custom function to the previous function...

a return would not work as this would only pass one value I suppose, and I need a an array with MySQL data coming back to me...


Messages In This Thread
Getting data back from custom library - by El Forum - 01-07-2010, 07:53 AM
Getting data back from custom library - by El Forum - 01-07-2010, 08:33 AM
Getting data back from custom library - by El Forum - 01-07-2010, 08:39 AM
Getting data back from custom library - by El Forum - 01-07-2010, 12:03 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.