Yes, if you don't have the source code for that CGI page, then you have no choice but to go back to them or to completely replace the page. Even with the source, if you don't know PERL (or C or C++, whatever is used there), you haven't got much hope of fixing it.
In any case, this almost surely has nothing to do with MySQL. If you do find the source code for that page, then post in a forum appropriate to the language used.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.