Re: Array
| From: | David Newcomb | Date: | Mon, 19 Jun 2000 14:13:02 +0000 |
| Subject: | Re: Array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-2193@lists.php.net to get a copy of this message | ||
> Sorry but I'm new inPHP.
That's ok, every has to start from something!
> How can I put some variables in array
> supose my variables are $a $b $c ....
$ar[0] = $a;
$ar[1] = $b;
$ar[2] = $c;
: :
I dose not matter what type $a,$b and $c are, they can all be different.
Or a vectored array:
$ar["zero"] = $a;
$ar["apples"] = $b;
$ar["trees"] = $c;
: :
> thanks
No problem.
Hope this helps,
David.