Jump to content

php/javascript checkbox


lJesterl

Recommended Posts

Ive searched google and came up with nothing. It's also a php issue because i have to generate the popup from a javascript. I get alot of help from this forum so please if you don't know dont be rude and let someone else help me. I love phpfreaks and enjoy asking questions to the community.

 

I assume you're submitting to the same page, then checking to see if they've agreed to the terms and conditions?

<?php 
if(!isset($_POST['checkbox_name']))
{
    //javascript popup
}
else
{
    header('Location: you_are_signed_up.php');
    exit;
}
?>

 

Bryan

 

EDIT: Don't be offended by the initial response, you need to detail more fully your original question. At first glance it appears to be an issue of javascript, one that is easily ailed from a Google search.

Archived

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

×
×
  • Create New...

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.