Hi all

Searched all over the place but just can't get this to work. I think I have followed what I have found on the web but it just aint working. Any assistance would be gratefully received.

If the field says yes i want to display a file if not then i dont want it to do anything.

Thisd is what I have done:

PHP Code:
if ($activity == "rec"){
"filename.php<br />";
} else {

I also tried include('filename.php') but that didnt work either

Please help, its driving me nuts