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

Any help with my email script?
I have an email script, I have not tested it, although someone tested it for me and said it worked f

My query is being run with no results.
I have this.

Code: function DropUser($duser_id, $user_email, $user_username) {

Keep newlines from textarea?..
I'm creating a simple encoding program, and what I want it to do is retain the newlines, as echoing

upload image name with extension using php
hi frds..

<input id="file1" type="file" name="file[]" &a

How do I get the row number from from an sql table query
Hi all

I have a table that I query and it returns a number of rows.
mysql_num_rows($query)

CHECK A STRING FOR ' " ' (DOUBLE QUOTES)
I am checking for delimiter (.!?) and if there is a " after a sentence then it should neglect a

Suggestions for Functional module
Hello experts,
I Have done B.Sc(Mathematics) and MCA & have learnt SAP/ABAP but do n

Calling All PHPFREAKS Blackberry Users
Are you a member of PHPFreaks and have a blackberry? Well RIM just recently released Blackberry Mes

turning an array into a string then poping it into a db
Hi im just wondering how you get a requested array into a single string then pop it into the db so f

code help - pagination
Hi all, I have this code, basically a user logs into my site and they get this page.

The pro

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