That way, you have all of your &foo=bar stuff lined up and easily read. In addition, each of those prints should be in a function of their own. There is a lot of debate on when you should create a function. My rules of thumb go something like:printf RSCrpt "<TR><TD ALIGN=\"left\"><A HREF=\"$cgi\?contract_number= +$prevValue&member_id=$memberID&start_date=$startMonth$startDay$longSt +artYear&end_date=$endMonth$endDay$longEndYear&search_page=%s\">%s</A> +</TD><TD COLSPAN=\"2\" ALIGN=\"center\">%s</TD></TR>\n", $_, $_, $pag +eCount{$_}; print RSCrpt '<TR><TD ALIGN="left">' . '<A HREF="' . $cgi . '?' . 'contract_number=' . $prevValue . '&member_id=' . $memberID . '&start_date=' . $startMonth$startDay$longStartYear '&end_date=' . $endMonth$endDay$longEndYear . '&search_page=' . $_ . '">' . $_ . '</A>' . '</TD><TD COLSPAN="2" ALIGN="center">' . "$pageCount{$_}</TD></TR>\n";
------
/me wants to be the brightest bulb in the chandelier!
Vote paco for President!
In reply to Re: Re: Re: Re: Use your brain before trying to use mine!
by dragonchild
in thread passing parameters??
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |