selenin Posted May 22, 2010 Share Posted May 22, 2010 Hello I'm learning a bit PHP I made a print_r that what I got Array ( [0] => Array ( [lang] => us => http://www.movieposterdb.com/posters/09_12/2010/955308/l_955308_0b245ca9.jpg ) [1] => Array ( [lang] => de => http://www.movieposterdb.com/posters/10_03/2010/955308/l_955308_9dc05fa5.jpg ) [2] => Array ( [lang] => us => http://www.movieposterdb.com/posters/10_03/2010/955308/l_955308_72f65713.jpg ) [3] => Array ( [lang] => de => http://www.movieposterdb.com/posters/10_04/2010/955308/l_955308_3a6173f1.jpg ) [4] => Array ( [lang] => us => http://www.movieposterdb.com/posters/10_04/2010/955308/l_955308_2e3a7186.jpg ) ) My question: Is this possible now with echo to show the url of array 0 ? Link to comment https://forums.phpfreaks.com/topic/202608-php-beginner/ Share on other sites More sharing options...
JAY6390 Posted May 22, 2010 Share Posted May 22, 2010 What was the name of the variable? replace $var below with the variable name echo $var[0]['url']; Link to comment https://forums.phpfreaks.com/topic/202608-php-beginner/#findComment-1062038 Share on other sites More sharing options...
selenin Posted May 22, 2010 Author Share Posted May 22, 2010 Cool, thanks a lot JAY6390, that works Link to comment https://forums.phpfreaks.com/topic/202608-php-beginner/#findComment-1062043 Share on other sites More sharing options...
JAY6390 Posted May 22, 2010 Share Posted May 22, 2010 No problem Link to comment https://forums.phpfreaks.com/topic/202608-php-beginner/#findComment-1062045 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.