<?php
$tools = true;
include("{$_SERVER["DOCUMENT_ROOT"]}/php/includes/header.php");
?>
<main>
<h2><?= $folder_name; ?>
<span><?= $file_name; ?></span>
</h2>
<h2>HTML Form Only - No PHP - GET -or- POST Values Displayed</h2>
<form>
<fieldset>
<legend><?= $file_name; ?></legend>
<ol>
<li>
<label for="name">Name:</label>
<input name="name" id="name" type="text" class="formbox">
</li>
<li>
<label for="email">Email:</label>
<input name="email" id="email" type="text" class="formbox">
</li>
<li>
<label for="comments">Comments:</label>
<textarea name="comments" id="comments" cols="60" rows="8"></textarea>
</li>
<li>
<input name="send" id="send" type="submit" value="Send message">
</li>
</ol>
</fieldset>
</form>
<h2>Debug Code</h2>
<pre class="line-numbers">
<code class="language-php">
<?php
if ($_POST) {
print_r($_POST);
}
if ($_GET) {
print_r($_GET);
}
?>
</code>
</pre>
</main>
<?php
include("{$_SERVER["DOCUMENT_ROOT"]}/php/includes/sidebar.php");
include("{$_SERVER["DOCUMENT_ROOT"]}/php/includes/footer.php");
?>