Advertisement
Guest User

Untitled

a guest
Nov 21st, 2019
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. <?php
  2. // Title of the website
  3. $title = 'ibuy Auctions';
  4. // Title of the Home Page
  5. $head = ' ibuy Auctions Home';
  6. // All the code for the "Main" section of the webpage here
  7. // all the code above will be used for different sections ...
  8. // ... but for know all the key information is on one page
  9. $para = '
  10. <section class="reviews">
  11. <h2>Reviews of User.Name </h2>
  12. <ul>
  13. <li><strong>Ali said </strong> great ibuyer! Product as advertised and delivery was quick <em>29/09/2019</em></li>
  14. <li><strong>Dave said </strong> disappointing, product was slightly damaged and arrived slowly.<em>22/07/2019</em></li>
  15. <li><strong>Susan said </strong> great value but the delivery was slow <em>22/07/2019</em></li>
  16.  
  17.  
  18. </ul>
  19.  
  20. <form>
  21. <form action="reviews.php" method="GET">
  22. <label>Add your review</label> <textarea name="test"></textarea>
  23. <input type="submit" value="Submit" test="submit" />
  24. </form>
  25. </section>
  26. </article>
  27. </form>
  28.  
  29. <?php
  30.  
  31. if (isset($_GET['test'])) {
  32. echo '<p>First Name = .<strong>' . $_GET['test'] . '</strong> </p>';
  33. }
  34. ?>
  35.  
  36.  
  37.  
  38.  
  39. ';
  40.  
  41. // Calls all of the code from layout.php
  42. // Adds all of the code required for the header and footer.
  43. require 'layout.php';
  44. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement