Hi, first thanks to everyone for all the help :-) 

Now i'm struggling on, (no thanks to apache :-(  )

Now i've been writing my raw html statements in print" "; blocks. I
thought i might clean it up, especially the table stuff. However i've
hit a wall:

I Want to do something like below, but the SetupCitiesComboBox doesn't
work as expected in the table. It displays a combo box before the
table is constructed, NOT in it, but in the <td>block it just displays
a 1. The SetupCitiesComboBox sub just adds cities to the menu_popip.
If i change from a <select> to a CGI popup_menu would this work then?

print table( 
    TR( 
        td("City: "), 
        td(&SetupCitiesComboBox),
        td(" "),
        td(" ")
    )
);
        
print "<TABLE>";
print "<TR>";
print "<TD>City:</TD>";
print "<TD><select name=\"city\"><p>";

&AddCitiesToComboBox(@Cities);
print "</select><P><P>";
print "</TD>";
print "<TD>";
print "</TD>";
print "<TD>";
print "</TD>";
print "</TR>"



Also, as with most Newbies to CGI, i'm putting together a page
counter. I finally worked out that apache was only setup to do .shtml
files, so i just added a parsed handler for .html.

BUT the cgi works when called from a html file, but not when it is in
a cgi created html file. Should i add a server parsed handler for cgi
files as well. I'm using a system(""); call to do it within the cgi,
but it means i need to create a slightly different hitounter file so
the content header doesn't get dumped. (I know pass something to tell
the hitcounter when not to display the content header?)

Many Many Thanks

Jamie O'Brien
[EMAIL PROTECTED]
Still slowly downloading all these messages!!
And i'm in perldoc nonstop :-)

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

Reply via email to