PC Nerd Posted April 6, 2007 Share Posted April 6, 2007 umm can i pass entire arrays to a function, simply by giving it the name of the array. im doing exactly that, but when the function tries to eecho out of the array, it echos nothing ill post ths code if you can pass arrays, but ill simply ask now thankx in advance Quote Link to comment Share on other sites More sharing options...
pocobueno1388 Posted April 6, 2007 Share Posted April 6, 2007 Make the array a parameter of the function. yourfunction($array_name); I am not 100% sure of this...you can try it though. Remember to make it a parameter where you created the function as well. Quote Link to comment Share on other sites More sharing options...
fert Posted April 6, 2007 Share Posted April 6, 2007 you certainly can Quote Link to comment Share on other sites More sharing options...
PC Nerd Posted April 6, 2007 Author Share Posted April 6, 2007 ok, after reading your reaply, ive found that it works, but thr original query, wasnt working properly, thankx anyway... Quote Link to comment Share on other sites More sharing options...
pocobueno1388 Posted April 6, 2007 Share Posted April 6, 2007 Damn I am one smart cookie....haha, just kidding. Lucky guess. Quote Link to comment Share on other sites More sharing options...
PC Nerd Posted April 6, 2007 Author Share Posted April 6, 2007 lol thankx guys Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.