Current location: Hot Scripts Forums » Programming Languages » PHP » Help with arrays


Help with arrays

Reply
  #1 (permalink)  
Old 05-24-04, 03:32 PM
thevhway thevhway is offline
New Member
 
Join Date: May 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Help with arrays

ok i get a string like this

Array ( [username] => Array ( [0] => domain.com [1] => Cool Blue [2] => owner ) [username] => Array ( [0] => domain1.com [1] => Cool Blue [2] => owner ) [username] => Array ( [0] => domain2.com [1] => Cool Blue [2] => owner )

and i would like to be able to have these pulled so i can call each variable by a name like this

$username = arrayusernamevalue

so i can print it to the PHP code where i would like

let me know if you can help

or at least help figure this out even a little bit
Reply With Quote
  #2 (permalink)  
Old 05-24-04, 04:10 PM
nekeno12 nekeno12 is offline
Wannabe Coder
 
Join Date: May 2004
Location: CO
Posts: 214
Thanks: 0
Thanked 0 Times in 0 Posts
There's very good documentation about arrays like this at:

http://www.php.net/array
Reply With Quote
  #3 (permalink)  
Old 05-25-04, 04:44 AM
NeverMind's Avatar
NeverMind NeverMind is offline
Community VIP
 
Join Date: Aug 2003
Location: K.S.A
Posts: 2,257
Thanks: 0
Thanked 2 Times in 1 Post
__________________
PHPSimplicity
We don't need a reason to help people - Zidane [FF9]
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Arrays Greigorama Windows .NET Programming 3 06-17-04 05:13 AM
Associative Arrays fxsinus JavaScript 4 03-12-04 09:38 AM
Database queries or arrays ? danux PHP 2 03-11-04 07:57 AM
Easy question about arrays... tempa PHP 4 03-09-04 06:13 AM
arrays that dont seem to fill up trigger_ph JavaScript 2 11-21-03 06:29 PM


All times are GMT -5. The time now is 10:36 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.