Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
| Search | Today's Posts | Mark Forums Read
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 4th, 2006, 01:47 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Oklahoma City, Oklahoma, USA.
Posts: 249
Thanks: 0
Thanked 0 Times in 0 Posts
Default push to multi dimensional

Can somebody tell me how to array_push() to a multi dimensional array.

I have tried
array_push($arrList["item"], $item);
array_push($arrList["project"], $project_name);

and get the following messages
Warning: array_push(): First argument should be an array in /file.php

Thank You
mike
__________________
Peace
Mike
http://www.eclecticpixel.com




Similar Threads
Thread Thread Starter Forum Replies Last Post
resizeable multi-dimensional array 132591 C++ Programming 2 October 20th, 2006 05:07 PM
multi-multi-multiple Insert with subquery??? jmjyiannis SQL Server 2000 1 May 5th, 2006 02:20 PM
push to users dfeuerborn VB Databases Basics 2 August 29th, 2005 10:18 AM
push to users dfeuerborn Access VBA 3 August 22nd, 2005 03:10 AM
Pull or Push? sureshvb Crystal Reports 0 August 23rd, 2004 01:13 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.