I have a database that contains a series of entries that have a category. I want the category names to be displayed on a webpage so that I can make them into hyperlinks. There are several instances of the category names in the database but I only want each category name to appear on the web...
I am wishing to just have them disappear from the web page. I still want to keep them in the table.
The table name that I am using is called exhibition and the field names are show_id, name, city, dates, show_ends, hall, stand.
The field show_ends hold the date that the show ends on. Once...
I have made a dynamic web site that displays exhibitions from a database file. I want to make the exhibitions disappear after the data they take place on has passed. I think that the way that I need to do this is by using the datecompare function and then comparing it to the current date...
I have now changed the program so that the variable subject are both the same and I have also changed the sysopen to just open. my previous errors have now gone and I now have new ones.
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The...
Sorry that was the wrong code. I am getting the following errors in the browser from the below code.
Software error:
Not enough arguments for sysopen at f:\student-homes\01\0100358\cgi-bin\display.pl line 17, near ""$filename")"
Global symbol "$Subject" requires explicit package name at...
what I meant by it is that I have the above program which takes the information from the file "msgs" and returns it to the screen. This above program works on our Samba server using its software. What I want to do is have the same output but in Internet Exploer. I know that to do this I need...
I have a program the same as the code before and I was wondering how you can display this as HTML in a browser. As in I have a file that I wish to display the contents of as a web page.
Thank You
#!/usr/bin/perl
use strict;
use warnings;
use CGI "Vars";
use 5.004;
use Fcntl qw(:DEFAULT...
I've figured out now that I was sorting more than once within the for loop but i'm still getting out five copies of the same record rather than one copy of each of the five records in whatever order they may have been sorted into. If this helps at all the record that keeps appearing is the last...
I tried to do it the way above but it didnt work. I then tried to use annonymous hashes to sort the file and I think its almost there. I think there is just a minor problem with the sort line. I think I may have mixed up the variables or something like that. Dunno if any of you guys can see...
Hi
I have a problem with a perl program that I have been writing. I have so far managed to pass in the contents of an external file and have it displayed on the screen in a structured way. The file is meant to be a bit like a message board. I now want to sort the messages by a certain field...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.