In my database I have entires which have a Key called ‘status’ and they have a non-numerical value (such A, B, Q)
I want to use a PHP script to echo something different depending on the value
Right now my page just selects the value of the key.
Edit:
Sorry guys. I have tried this:
while( $notify = mysql_fetch_array($resultSet) ) {
echo '</td><td>'.$notify['status'].'</td></tr>';
}
As an alternative to @Andre’s solution, you can also do the transform directly in SQL: