Yes, it should. Check it yourself by printing out array values:

echo array[2];
echo array[3]; etc.

If it's a really long array and you want to print the whole thing, look at
foreach, http://us2.php.net/manual/en/control-structures.foreach.php



                                                                                       
                                                
                      "John Macon"                                                     
                                                
                      <[EMAIL PROTECTED]        To:       <[EMAIL PROTECTED]>          
                                             
                      net>                     cc:                                     
                                                
                                               Subject:  Handling Arrays               
                                                
                      09/02/2003 09:40                                                 
                                                
                      PM                                                               
                                                
                                                                                       
                                                
                                                                                       
                                                




I have a quick question about arrays.  I know that this is probably pretty
easy for most of you out there, so here it goes.

If you remove $array[2], would $array[3] then automatically become the new
$array[2]?

Thanks in advance for your help.





-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to