daily pastebin goal
51%
SHARE
TWEET

Untitled

a guest Jan 15th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if(!empty(isset($_POST["SHOWSCHEDULE_SHOWTYPE"]))){
  2.     $DATA["SHOWSCHEDULE_SHOWTYPE"] = $_POST["SHOWSCHEDULE_SHOWTYPE"];
  3. }
  4.  
  5. if(!empty(isset($_POST["SHOWSCHEDULE_SHOWTITLE"]))){
  6.     $DATA["SHOWSCHEDULE_SHOWTITLE"] = $_POST["SHOWSCHEDULE_SHOWTITLE"];
  7. }
  8.  
  9. if(empty($DATA)){
  10.     //do something
  11. }else{
  12.     //do something else
  13. }
  14.    
  15. if(!empty($_POST['var1']) && !empty($_POST['var2']) && !empty($_POST['var3']) && !empty($_POST['var4'])):
  16. /*and then assign all the POST values to a $DATA array as you want.*/
  17. $DATA['var1'] = $_POST['var1'];
  18. $DATA['var2'] = $_POST['var2'];/* and so on..*/
  19. endif;
  20.    
  21. if(!empty(isset($_POST["SHOWSCHEDULE_SHOWTYPE"])) && !empty(isset($_POST["SHOWSCHEDULE_SHOWTITLE"]))){
  22.  
  23.     $DATA["SHOWSCHEDULE_SHOWTYPE"] = $_POST["SHOWSCHEDULE_SHOWTYPE"];
  24.     $DATA["SHOWSCHEDULE_SHOWTITLE"] = $_POST["SHOWSCHEDULE_SHOWTITLE"];
  25.  
  26. }else{
  27.     //do nothing
  28. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top