Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > PHP Databases
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
PHP Databases Using PHP in conjunction with databases. PHP questions not specific to databases should be directed to one of the other PHP forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP Databases section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old December 18th, 2008, 10:32 AM
Registered User
Join Date: Dec 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default using file() questions

how do i cocatinate multipal arrays together????
Reply With Quote
  #2 (permalink)  
Old December 18th, 2008, 04:59 PM
Registered User
Join Date: Dec 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts

You can try this example:

PHP Code:
//Example Array A
$ArrayA[] = "Morgan";
$ArrayA[] = "Mintzberg";
$ArrayA[] = "Maslow";

//Example Array B
$ArrayB[] = "Schuhmacher";
$ArrayB[] = "Schonberger";
$ArrayB[] = "Schein";

//Example Array C
$ArrayC[] = "Imai";
$ArrayC[] = "Ishikawa";
$ArrayC[] = "Jacobs";    
//Use function "array_merge_recursive()"
$MergedArray array_merge_recursive($ArrayA,$ArrayB,$ArrayC);
Good luck!
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
.NET Interview Questions, C# Interview Questions, dotnetuncle .NET Framework 2.0 3 April 9th, 2015 07:43 AM
Please help with these questions AccessAasif@aol.com C# 1 February 28th, 2008 06:14 PM
C++ questions jam93 C++ Programming 1 August 19th, 2007 10:39 PM
How to Questions (Select Into) (remote file) gmoney060 Access ASP 2 January 2nd, 2005 11:02 PM
many questions Frank1111 BOOK: ASP.NET Website Programming Problem-Design-Solution 1 December 22nd, 2003 08:59 PM

All times are GMT -4. The time now is 06:43 AM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.