01-27-2008, 07:41 AM
|
#1 (permalink)
|
|
The Addict
Join Date: Jan 2008
Location: los angeles
Posts: 309
Thanks: 44
|
question on functions
if i wrote something like this
Code:
<?php
function names($fname,$lname,$mname)
{
return array( '$FirstName' => '$fname',
'$LastName' => '$lname',
'$MiddleName' => '$mname');
}
names('sarmenhb','sarmenhb','sarmenhb');
names('a','b','c');
names('c','d','e');
?>
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 
__________________
no signature set
|
|
|
|