Sign in to follow this  
Followers 0
iamtheky

Functions in Arrays

1 post in this topic

#1 ·  Posted (edited)

Global $array[1][4] = [['field 1', 'field 2', 'field 3' , '_function()']]

Is it possible to later call that function by variable? calling it by $array[$i][3] (or a variable of that variable) is no good.

I can see it in my msgbox test so i know its there, just cant seem to figure out how to get my dumb self to call it.

my bad spelling caused all of the above, call works just fine.

Edited by iamtheky

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0