User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 402,677 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,307 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 689 | Replies: 2 | Solved
Reply
Join Date: May 2007
Posts: 1
Reputation: braska is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
braska braska is offline Offline
Newbie Poster

Help arrays & images

  #1  
May 3rd, 2007
I have 2 existing arrays and one calls upon the other for a game from the <form>, as you make a choice in the drop down menu (based on the description displayed), you are right or wrong and it displays the right answer for you if you're wrong... I need a third array that is going to call the images associated with the right answers and display that image of the right answer if they are right or wrong. I don't know how to call the images in the array, or in the form. I'm noob beyond, yes.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: May 2007
Posts: 30
Reputation: azzu5 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 2
azzu5 azzu5 is offline Offline
Light Poster

Re: arrays & images

  #2  
May 9th, 2007
use if else conditions to do this..! if tru then load true image or if false then load false image...

I hope this will help you..
Looking at my own code of Life and thinking what the hell is this....
------------------------------------
Middle East B2B Marketplace
Dubai Web Design
Dubai SEO
Reply With Quote  
Join Date: Apr 2007
Posts: 136
Reputation: dr4g is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 5
dr4g's Avatar
dr4g dr4g is offline Offline
Junior Poster

Re: arrays & images

  #3  
May 9th, 2007
IF you can post your existing code. we can help modify this with an additional dimension for storing the image information.
Which language is this in ?
GardCMS :: Open Source CMS :: Gardcms.org
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb HTML and CSS Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 4:36 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC