"1lt John W. Holmes" <[EMAIL PROTECTED]> wrote in message > > If that's what you want, then just make each button a normal <a href> link > and pass an variable to the next page in the link (like someone has already > suggested). You'd get the same end result. > > <a href="page.php?sample=a"><img></a> > <a href="page.php?sample=b"><img></a> > <a href="page.php?sample=c"><img></a> > <a href="page.php?sample=d"><img></a> > > print "The user selected button $sample<br>\n";
Indeed this solution does appear to be the best in that it does not rely on client-side scripting, it allows for control of the icon/button appearance, and it allows direct access to the "value" associated with the selected button. I had hoped to use POST instead of GET, however -- i didn't want to pass the information via the URL. To make the issues more clear (assuming everyone's not totally burned out thinking about this one), I will submit links to working, example code in a followup post. I'm swamped with a proposal i'm working on for my 'day' job, however -- so stay tuned. thanks for all of the insights/assistance! -Durwood -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php