Hello,

Here is what I am trying to do,


In my html

<form action="../cgi-bin/class_schedule.cgi" method="post">
<input type="submit" value="Class Schedule" name="kayaking_intro">
<input type="submit" value="Class Schedule" name="white_water_intro">
----etc----

I Have several buttons, that display the label 'Class Schedule'
I want to use the 'name' as data. 

So in my CGI code (perl):

$class_to_display   =  param('kayaking_intro'); 
$class_to_display   =  param('white_water_intro'); 
$class_to_display   =  param('white_water_beyond'); 
$class_to_display   =  param('white_water_rolling'); 

# The way it is written shouldn't I be assigning 'Class Schedule' to 
$class_to_display? Not what I want :)

It does not seem to work, what might I be missing?

Thanks

Dave



*====================================================*
*   Cora Connection Your West African Music Source   *  
*   http://www.coraconnection.com/                   *  
*   Resources, Recordings, Instruments & More!       *
*====================================================*

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to