Hello, gang.
Per my admin's unyielding request, I showed him how to do a reg. expression search. (ie., * wildcard). It's pretty simple, and works just fine if the * is at the end of the word.
If it's in the middle, it ignores the wildcard, and thinks * is a character. No biggie really.
The crutch is when the * is at the beginning of the word. I work for HP, and we have lots of *Jet products (deskjet, laserjet, designjet, copyjet, etc.) I tried to search for "*jet support" to list entries that were for support for any jet line, and I got the error:
...
QUERY_STRING : db=default&uid=default&Category=---&Description=&keyword=*jet&mh=10&re=1&view_records=1&view_records=View+Records
Any idea on why this killed the code?
Per my admin's unyielding request, I showed him how to do a reg. expression search. (ie., * wildcard). It's pretty simple, and works just fine if the * is at the end of the word.
If it's in the middle, it ignores the wildcard, and thinks * is a character. No biggie really.
The crutch is when the * is at the beginning of the word. I work for HP, and we have lots of *Jet products (deskjet, laserjet, designjet, copyjet, etc.) I tried to search for "*jet support" to list entries that were for support for any jet line, and I got the error:
Code:
Error Message : fatal error: Undefined subroutine &main:: called at /home/httpd/cgi-bin/list/db.cgi line 393, chunk 1. ...
QUERY_STRING : db=default&uid=default&Category=---&Description=&keyword=*jet&mh=10&re=1&view_records=1&view_records=View+Records
Any idea on why this killed the code?