Hi,
I'm studying some validation code and I can't figure out the meaning of
"->"
in the following context:
-------------------
function addCheck($field){
$this->mandatory[] = $field;
}
function addCheckEmail($field){
$this->mandatory_mail[] = $field;
^
....
-------------------
I've spent a good amount of time trying to search for information or
similar code on it without success and unfortunately I've lost where I
got the code from; dumb move, I know!
Is "$this->mandatory[] " simply a variable name? There are
several variations in the code ( "$this->mandatory_whatever[]" ), but
the format is strange to me, causing me to wonder if there is more to it
than "just a variable name".
I've had no definitive luck sandboxing it either.
Thanks for any light you can shed for this rank newbie<g>,
Twayne