Let me know if you need more of the code... I basically need to compare (3) different events before printing the $desc. ______SysAdm<form action="$ENV{'SCRIPT_NAME'}" method="POST"> <input type="hidden" name="action" value="search"> <input type="text" name="searchstring" size="18"> <select name="searchprice" size="1" value="price"> <select name="searchtype" value="keyword" size="1"> if($class =~ /$form{'searchtype'}/ eq 'keyword' and ($desc =~ /$form{' +searchstring'}/i) and ($desc =~ /$form{'searchprice'}/) || ($desc =~ +/$form{'searchstring'}/i) and ($desc =~ /$form{'searchprice'}/)) {print "$desc\n";
In reply to Search question by SysAdm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |