- Edited
Morning all,I have built a survey form but what I would ideally like to do is find a way of the link displaying 'IF' the ticket status is closed. I have searched through the 'tickets.php' for ticket status but cannot locate where it pulls this info from. I assume it looks at another .php page and then links in, along with grabbing the data out of mySQL. If anyone can help me with the IF side of things for where the data is captured.Thanks in advance.<?php// IF the ticket status is 'closed' then display a link to the survey.IF ($_POST) { echo "Please complete the satisfaction survey <a href='survey.php'>here</a>";} else { echo " "; }?>