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;
Did you know?Explore Trending and Topic pages for more stories like this.
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

help with database debug pls
Parse error: syntax error, unexpected T_ELSE in /home/content/m/e/s/mesick/html/students/05/php/chec

Change Age automatically
hi guys . im new to php , is it possible to change age value in mysql automatically when year change

Create multiple (n) arrays
Hi there,

I have the following need:

I have 2 arrays (coming from a databases)

radio button reamains checked
Hello i'm trying to keep the state off my radio buttons so it shows which ones where clicked after t

Image DPI
Hi.

I allow users to upload images, the user then is able to adjust several settings for the

bit of help needed
Im about to sort out my registration page for my website by customising a "registration" s

opening a window with after form submission
I know this this forum has nothing to do with JS, but i'm trying to use it with my php script.
<

RTF fomatting to email content
Im trying to sen an email with content is picked up from a rtf-file (file_get_contents('*.rtf'). Mai

Select Rows as Columns..
is there a way to select COLUMN_NAME from user_tab_columns where table_name='TABLENAME';
and ha

Multi dimensional arrays
If I put in this code:

1
2
3
4
5
6
7
8
9
10
11
12
13<

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