![]() |
question on functions
if i wrote something like this
Code:
how can i output what the names function contains or how can i make use of this. im beginning to think that arrays can be similar to ram like a temporary database or information storage that is volatile ;-) |
Quote:
What are you trying to do? You should make that a var then iterate the variable using foreach, and return the new iterated var. Otherwise it'll just output "Array" |
Quote:
im reading this book and its starting to talk about OOP and its relation functions to classes and it showed that example. i thought it was pretty cool. and wondered how i can make use of it. |
Quote:
PHP Code:
|
| All times are GMT. The time now is 06:32 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0