I am new to arrays and i'm trying to display a certain few.
I've tried var_dump and here's my results
array(6) {
["show_hero_options"]=> string(1) "1"
["hero_height"]=> string(5) "600px"
["hero_width"]=> string(4) "100%"
["hero_buttons"]=> string(4) "show"
["upload_zzz_link_1"]=> string(105) "http://blahblah.com/image_link.png"
["upload_zzz_link_2"]=> string(105) "http://blahblah.com/image_link2.png"
["upload_yyy_link_1"]=> string(79) "http://blahblah.com/image_link3.png"
}
Basically I only want to display the values of string 105.
How can I do this?
UPDATE: Sorry to mess you all around, i've just figured out I can't seems to use the string as this seems to change, see this var_dump
array(9) {
["show_hero_options"]=> string(1) "1"
["hero_height"]=> string(5) "600px"
["hero_width"]=> string(4) "100%"
["hero_buttons"]=> string(4) "show"
["upload_zzz_link_1"]=> string(105) "http://www.blahblah.com/image_link.jpg"
["upload_zzz_link_2"]=> string(79) "http://www.blahblah.com/image_link.jpg"
["upload_zzz_link_3"]=> string(79) "http://www.blahblah.com/image_link.jpg"
["upload_yyy_link_1"]=> string(79) "http://www.blahblah.com/image_link.jpg"
}
Basically I want to display all the zzz images, can I do this by and ID or classname?