File: view/func/form/submitted.php

Recommend this page to a friend!
  Classes of Ahmad Mustapha  >  Simple React PHP HTTP Server  >  view/func/form/submitted.php  >  Download  
File: view/func/form/submitted.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Simple React PHP HTTP Server
Pure PHP HTTP server using ReactPHP library
Author: By
Last change:
Date: 2 months ago
Size: 778 bytes
 

Contents

Class file image Download
<?php require dirname(__DIR__, 2) . '/includes/header.php' ?>
<div class="row justify-content-center mt-5">
        <div class="col-md-8">
            <div class="card">
                <div class="card-header">Submitted Form Data</div>
                <div class="card-body">
                    <div class="list-group">
                        <?php
                       
/**@var array $formData**/
                       
foreach ($formData as $inputName => $inputValue){
                            echo
"<div class='list-group-item'>{$inputName}: {$inputValue}</div>";
                        }
                       
?>
</div>
                </div>
            </div>
        </div>
<?php require dirname(__DIR__, 2) . '/includes/footer.php' ?>


For more information send a message to info at phpclasses dot org.