Posted by TMN on 02/16/07 12:21
On Feb 15, 6:40 pm, Toby A Inkster <usenet200...@tobyinkster.co.uk>
wrote:
> TMN wrote:
> > $anArray[]= "";
>
> > $ref = &$anArray[];
>
> > $ref = "a";
> > $ref = "b";
> > $ref = "c";
>
> $anArray[]= "";
> $ref = &$anArray[];
> $ref[] = "a";
> $ref[] = "b";
> $ref[] = "c";
>
> --
> Toby A Inkster BSc (Hons) ARCS
> Contact Me ~http://tobyinkster.co.uk/contact
> Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux
>
> * = I'm getting there!
What I am trying to do is get a reference to an array so I can add
elements to arrays via the ref.
tim
Navigation:
[Reply to this message]
|