Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.34 KB | None | 0 0
  1. <?php
  2.     // configuration
  3.     require("../includes/config.php");
  4.  
  5.     // render form
  6.     render("quotes_form.php", ["title" => "Quotes"]);
  7.     if($_SERVER["REQUEST_METHOD"] == "POST"){
  8.         $quotes= lookup($_POST["symbol"]);
  9.         if($quotes==false){
  10.             apologize("You have to enter a valid symbol");
  11.         }
  12.  
  13.     }
  14. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement