Jump to content


Photo

Help with check bow true/false


  • Please log in to reply
1 reply to this topic

#1 piznac

piznac
  • Members
  • PipPipPip
  • Advanced Member
  • 261 posts

Posted 11 April 2006 - 02:30 PM

Hi all you have been some much help in the past so I got a new one for you.

How do I tell php that a form box has been checked. I have a check box on a form that gets sent to a php page that depending on wether or not it is checked it should send an email. Can someone tell me where i am going wrong. Here is my code:

if (isset($ce)){
mail($recipient,$msg,$subject);
}

where $ce being my varible for the check box sent via a url parameter

Thanks

#2 piznac

piznac
  • Members
  • PipPipPip
  • Advanced Member
  • 261 posts

Posted 11 April 2006 - 04:50 PM

Ok nevermind -- it seems to be working now -- I just took the isset out.

Thanks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users