Jump to content

Archived

This topic is now archived and is closed to further replies.

piznac

Help with check bow true/false

Recommended Posts

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:

[code]if (isset($ce)){
mail($recipient,$msg,$subject);
}[/code]

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

Thanks

Share this post


Link to post
Share on other sites
Ok nevermind -- it seems to be working now -- I just took the isset out.

Thanks

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.