title: Undefined variable submit at PHPMaker custome template
body: <p><br></p>
  
  <pre><code>&lt;?php 
  if (!isset($_POST['submit1'])==($submit == "Dig Gmail")){
  if (!function_exists("ssh2_connect")) 
  die("function ssh2_connect doesn't exist");
  $connection = ssh2_connect('x.x.x.x', 22);
  ssh2_auth_password($connection, 'xxxx', 'xxxx');
  $stream = ssh2_exec($connection, 'dig @127.0.0.1 gmail.com');
  $errorStream = ssh2_fetch_stream($stream, SSH2_STREAM_STDERR);
  if (stream_set_blocking($stream, true)) {
  echo "&lt;pre&gt;"; 
  echo "Output:".stream_get_contents($stream);
  echo "&lt;/pre&gt;";
  } elseif (stream_set_blocking($errorStream, true)) {
  echo "Error:".stream_get_contents($errorStream); 
  } else {
  echo "No Output";
  } fclose($errorStream);
    fclose($stream);
  }
  ?&gt;
  
  &lt;form action="" method="post"&gt;
  &lt;input type="submit" class="btn btn-success" 
  name="submit1" value="Dig Gmail"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>the message for error code is <br>
  Notice: Undefined variable: submit in C:\xampp\htdocs\coba\home.php on line 402 <br>
  thanks for your advice</p>