Sort Order Description
| From: | kc68 at cornell dot edu | Date: | Thu, 11 Mar 2004 19:58:14 +0000 |
| Subject: | Sort Order Description | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-33404@lists.php.net to get a copy of this message | ||
How can I have the explanation above a php table on a sort come out as something different than the sort coding? For example, the sort line below results in the following text above the sorted table: "Data Set Sorted by (ssa1202.total/vapall.vapall)*100 in Descending Order". I'd prefer simply "Data Set Sorted by Percent in Descending Order." I tried naming the sort field "as Percent" but that didn't change anything.
echo "<td><div align='center'><font size='3'><b>Percent<a href='ssa1202.php?sort_field=(ssa1202.total/vapall.vapall)*100&sort_order=desc' target='_self'><font size='2'><br>Sort</a></b></font></div></td>\n";
Ken