RE: [PHP] Array Logic
| From: | Steve Keller | Date: | Tue, 20 May 2003 16:29:11 +0000 |
| Subject: | RE: [PHP] Array Logic | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148296@lists.php.net to get a copy of this message | ||
At 5/20/2003 09:31 AM, Ford, Mike wrote:
Try array_splice(): array_splice($a, 2, 0, "seltzer");Thanks Mike! That works exactly as requested. I'd looked at that function, but the manual doesn't state that you can specify zero as a length value. -- S. Keller UI Engineer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Pkwy. Anchorage, AK 99508 907.770.6200 ext.220 907.336.6205 (fax) Email: skeller@healthtvchannel.org Web: www.healthtvchannel.org