Problem with sorting images

Problem with sorting images

kodingerkodinger Posts: 3Questions: 0Answers: 0
edited February 2010 in General
Hello,

I have a problem with sorting my tables. In my table, I have a picture which gives the state with a code looking like this
[code] if (strlen ( $stateDAO->getStateBySupportID ( $aRow ['support_id'] ) ) == '0') {
$state = "closed";
} else {
$state = $stateDAO->getStateBySupportID ( $aRow ['support_id'] );
}
..
..
..
function fnColumnToField($i) {

if ($i == 0)
return "";

..
..
}
[/code]

I want to sort my table after the state, but if i want to to id like this, it stucks at processing...

I already tried to give an sType with html but that didnt worked..

can anybody help my and tell me how i can sort after the variable $state or sth like this?

ps: can i save the chosen sortingcombinations into a database that they will be loaded on the next pageaccess for the user??

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    I think you might have missed the point of the fnColumnToField function - it will convert from an index to a database column name. And I doubt you have a column called
This discussion has been closed.