[Tutor] Help with CGI output
alan.gauld@bt.com
alan.gauld@bt.com
Thu, 22 Feb 2001 16:00:13 -0000
I'm guessing here but...
> print "<html><title>test</title>"
Shouldn't there be <head></head> tags in there too?
> ....
> print '<td><img src="'
> print '<img src="'
> print 'http://10.104.98.70/medintouch/images'
> print '/' + x
> print '"></td>'
Will output:
<td><img src="
http://10.104.98.70/medintouch/images
/someXvalue
"></td>
I'm not sure whether breaking the url like that is a
good idea, it might be better to build the whole img
tag as a string then print it... but I don't do much
CGI som maybe it won't matter.
> print '<td><input type="checkbox"></input></td>'
Won't that need to be inside a <form>,/form> pair to
take effect?
Just some random thoughts!
Alan G