building a function with multiple outputs


Posted on 16th Feb 2014 07:03 pm by admin

I want to build a function that has multiple outputs.

I know but am not to sure how I should go about that, the only thing I know won't work is
return a;
return b;
return c;

that will return one result at best. what I need to do is output a b and c from the same function, but I am looking for ideas on how to do that.

No comments posted yet

Your Answer:

Login to answer
337 Like 12 Dislike
Previous forums Next forums
Other forums

need help with date function
i have following form for date

Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01

form problem
below in the form action, i've put "test.php?w=$sw&h=$sh" but when i input the for

problem with sql querry in php script
Hello guys,

What I want to do is I want to read out a csv file and then but te conent ot the

this code is strange !
Hi i got this code from the web.. It checks for live and dead socks
It is working perfectly on my

upgrade from 4.7 to ECC 6.0
Hi all,
we are going to do an upgrade from R/3 4.7 to ECC 6.0. I need to know if i can find som

problem with array - multilingual page
this is my test page :
Code: <?php
if(isset($_GET['lang'])) {
if($_GET['la

Access website from only 1 computer...?
One of my customers wants his website to only be accessed by people in which they bought the website

cstdatomic (c++0x std::atomic) / g++ 4.4
Hello,

I'm trying to use cstdatomic (std::atomic in the upcoming c++0x standard) in g++

Dealing with code in db query
I am dealing with C code and I need to make sure it is encoded some how to ensure its integrity and

How to refresh a parent page from a modal popup
Hi,I have a modal popup in which I need to upload a file and store in the database should give a mes

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash