View Single Post
Old September 27th, 2004, 03:56 PM   #3 (permalink)
smess
Registered User
 
Join Date: Sep 2004
Posts: 2
is this right?

while ( list($sortid, $sortname, $sortc) = mysql_fetch_row($resultc) ) {
if ($sortparam == $sortid) {
$sortdefault = "<option selected=\"selected\" value=\"$sortid\">$sortna$
$sortcode = "$sortc";
}
if ( empty($sort) ) $sortparam = 1;
else {
$sortoptions .= "<option value =\"$sortid\">$sortname</option>";
}
}
smess is offline   Reply With Quote