Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Title of the website
- $title = 'ibuy Auctions';
- // Title of the Home Page
- $head = ' ibuy Auctions Home';
- // All the code for the "Main" section of the webpage here
- // all the code above will be used for different sections ...
- // ... but for know all the key information is on one page
- $para = '
- <section class="reviews">
- <h2>Reviews of User.Name </h2>
- <ul>
- <li><strong>Ali said </strong> great ibuyer! Product as advertised and delivery was quick <em>29/09/2019</em></li>
- <li><strong>Dave said </strong> disappointing, product was slightly damaged and arrived slowly.<em>22/07/2019</em></li>
- <li><strong>Susan said </strong> great value but the delivery was slow <em>22/07/2019</em></li>
- </ul>
- <form>
- <form action="reviews.php" method="GET">
- <label>Add your review</label> <textarea name="test"></textarea>
- <input type="submit" value="Submit" test="submit" />
- </form>
- </section>
- </article>
- </form>
- <?php
- if (isset($_GET['test'])) {
- echo '<p>First Name = .<strong>' . $_GET['test'] . '</strong> </p>';
- }
- ?>
- ';
- // Calls all of the code from layout.php
- // Adds all of the code required for the header and footer.
- require 'layout.php';
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement