[EMAIL PROTECTED] wrote:
> 
> Hi everyone, I seem to be getting a syntax problem somewhere between the
> <TD></TD>. What I am trying to do is create a drop down combo box on the
> form and whatever the user selects is captured by variable so I can do my
> query. This seems pretty simple, but I cannot seem to resolve the problem.
> I will appreciate any help.

if and else start with lower case letters. Didn't -w catch this?

> 
> <TD><SELECT NAME = "tableName">!;
>      foreach $table (@tablenames)
>      {
>        If($table eq $tablename)
--->     ^

>        {
>         print qq!<option selected>$table!;
>        }
>        Else
--->     ^

Cameron

-- 
Cameron Dorey
Associate Professor of Chemistry
University of Central Arkansas
Phone: 501-450-5938
[EMAIL PROTECTED]

---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to