Posted: Mon Sep 15, 2003 11:21 am
-> is when you call on something using a class...
=> is usually what you use when you assign values in arrays...
About the class. Boss is watching over my shoulder, so I should work. 
If somone else havn't replied when I got home, i'll look at it.
Try if you can figure something out with my earlier post meanwhile.
=> is usually what you use when you assign values in arrays...
Code: Select all
// perhaps not the best description but...
// initialize a new class, call it $var
$var = new class();
// use $var (the class) and call the somefunction within...
$var2 = $var->somefunction('foo');
// array
$array = array('foo'=>'bar', 'moo'=>'cow');If somone else havn't replied when I got home, i'll look at it.
Try if you can figure something out with my earlier post meanwhile.