Untitled
public php v1 · immutable $info = array('title', 'poster', 'description', 'embed', 'category'); $passed = true; foreach ($info as $in) { if (!isset($_REQUEST[$in]) { $passed = false; break; } } if (!$passed) { echo("You have not completed the necessary information to submit!"); }