Jump to content

[SOLVED] Quick Array Help!


Guest Xanza

Recommended Posts

Guest Xanza

I have a fairly simple username and password array database:

 

$ft['users']['myusername'] = array('password' => 'mypassword', 'group' => 'admin');

 

I simply want to echo the stupid password. xD

 

so far I have this:

 

echo "Password: ".$ft[users][0][$username][0][password]; 

 

Not sure if it's correct so if at all possible please give me a quick resolve!

Link to comment
https://forums.phpfreaks.com/topic/147862-solved-quick-array-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.