Basic Array Questions

From: John_Pallozzi@idg.com
Date: Thu Oct 28 1999 - 07:40:18 EST


Hello,

Can anyone point me to some on-line doc or show me how to specify an array
of strings ?

would it be:

$small_array[2] = {"tom", "and", "jerry"}

or:

$small_array[0] = "tom";
$small_array[1] = "and";
$small_array[2] = "jerry";

Also to set an array index equal to a variable would you use syntax like:

 $array[0] = $stringval;

Any help would be greatly appreciated,

John P.

-------------------------------------------------------------------------
To unsubscribe, go to http://www.Hughes.com.au/extras/email/



This archive was generated by hypermail 2b30 : Mon Mar 04 2002 - 09:03:52 EST