Jump to content

Add “if checked” functions to implode for PHP


Youssouf

Recommended Posts

Hard to tell from your question but I think that what you want is:

if (!(empty($_REQUEST['checkbox_name_here']))){
  // do your implode here
}

You can change $_REQUEST to $_POST or $_GET if you know how form is submitted.

 

http://www.php.net/empty

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.