|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re: How do you change the picture displayed?by knobunc (Pilgrim) |
| on Mar 22, 2002 at 15:05 UTC ( #153569=note: print w/ replies, xml ) | Need Help?? |
|
first off your page will not include the values from your arrays because it looks like your are relying on string interpolation to get the stuff displayed (e.g. $disc$prod), but your string is in single quotes which forbid interpolation and you don't want to use double quotes since they are in the string. You have a couple of choices here:
With regards to your question about images, you probably just want to store the URL of the image (or a fragment of it) and use that in an <img> tag:
-ben
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||