|
Our problem was that on output the 'would you recommend' was ALWAYS saying no, even if the database said 'Yes'. The reason is because the script checks for the 'Yes' value and wraps a green span around it if it's 'Yes'. But since it was checking for 'yes' and the value is stored as 'Yes', they weren't matching up, causing the issue. By changing the code to check for the correct value, it fixed our problem completely.
|